diff options
author | kwolekr <kwolekr@minetest.net> | 2013-05-19 21:26:08 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-05-19 21:26:56 -0400 |
commit | d00e8bd31a185a4000807de6d21eccce9f86671e (patch) | |
tree | 444f63fc8327a58fe0f2f17958b75f79b5ef7dc5 /src/collision.cpp | |
parent | 55a97f4605a263f4b670b447cd4af9ffa1a8d472 (diff) | |
download | minetest-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.cpp | 2 |
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); |