diff options
author | Shauren <shauren.trinity@gmail.com> | 2011-03-08 16:42:00 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2011-03-08 16:42:00 +0100 |
commit | e5347a3bdadc5468916a11f9da5c9561f955f79a (patch) | |
tree | a01fd9010a6eb3e40f1d89103738a3cd5fbe96de /src/server/collision/BoundingIntervalHierarchy.cpp | |
parent | 00f2ded757f2fe47ca40d3c5269008e6fa39aa21 (diff) |
Core: Fixed warnings:
C4100: 'variable' : unreferenced formal parameter
C4701: potentially uninitialized local variable
C4389: '!=' : signed/unsigned mismatch
C4245: 'argument' : conversion from 'X' to 'Y', signed/unsigned mismatch
Diffstat (limited to 'src/server/collision/BoundingIntervalHierarchy.cpp')
-rwxr-xr-x | src/server/collision/BoundingIntervalHierarchy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/collision/BoundingIntervalHierarchy.cpp b/src/server/collision/BoundingIntervalHierarchy.cpp index ca2dc9c1645..470f89e6a69 100755 --- a/src/server/collision/BoundingIntervalHierarchy.cpp +++ b/src/server/collision/BoundingIntervalHierarchy.cpp @@ -21,7 +21,7 @@ void BIH::buildHierarchy(std::vector<uint32> &tempTree, buildData &dat, BuildStats &stats) { // create space for the first node - tempTree.push_back(3 << 30); // dummy leaf + tempTree.push_back(uint32(3 << 30)); // dummy leaf tempTree.insert(tempTree.end(), 2, 0); //tempTree.add(0); |