aboutsummaryrefslogtreecommitdiff
path: root/src/server/collision/BoundingIntervalHierarchy.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2011-03-08 16:42:00 +0100
committerShauren <shauren.trinity@gmail.com>2011-03-08 16:42:00 +0100
commite5347a3bdadc5468916a11f9da5c9561f955f79a (patch)
treea01fd9010a6eb3e40f1d89103738a3cd5fbe96de /src/server/collision/BoundingIntervalHierarchy.cpp
parent00f2ded757f2fe47ca40d3c5269008e6fa39aa21 (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-xsrc/server/collision/BoundingIntervalHierarchy.cpp2
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);