summaryrefslogtreecommitdiff
path: root/src/collision.cpp
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-05-19 21:26:08 -0400
committerkwolekr <kwolekr@minetest.net>2013-05-19 21:26:56 -0400
commitd00e8bd31a185a4000807de6d21eccce9f86671e (patch)
tree444f63fc8327a58fe0f2f17958b75f79b5ef7dc5 /src/collision.cpp
parent55a97f4605a263f4b670b447cd4af9ffa1a8d472 (diff)
downloadminetest-d00e8bd31a185a4000807de6d21eccce9f86671e.tar.gz
minetest-d00e8bd31a185a4000807de6d21eccce9f86671e.tar.bz2
minetest-d00e8bd31a185a4000807de6d21eccce9f86671e.zip
Fix nearly all warnings
Diffstat (limited to 'src/collision.cpp')
-rw-r--r--src/collision.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/collision.cpp b/src/collision.cpp
index 673966b6e..3058426eb 100644
--- a/src/collision.cpp
+++ b/src/collision.cpp
@@ -298,7 +298,7 @@ collisionMoveResult collisionMoveSimple(Environment *env, IGameDef *gamedef,
f32 distance = speed_f.getLength();
std::vector<DistanceSortedActiveObject> clientobjects;
c_env->getActiveObjects(pos_f,distance * 1.5,clientobjects);
- for (int i=0; i < clientobjects.size(); i++)
+ for (size_t i=0; i < clientobjects.size(); i++)
{
if ((self == 0) || (self != clientobjects[i].obj)) {
objects.push_back((ActiveObject*)clientobjects[i].obj);