From 8610d45ef18f075e7fa207732233ddbd69bb604b Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Fri, 20 Dec 2013 16:01:34 +0100 Subject: Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). --- src/BoundingBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/BoundingBox.cpp') diff --git a/src/BoundingBox.cpp b/src/BoundingBox.cpp index 02602992e..d0943d42a 100644 --- a/src/BoundingBox.cpp +++ b/src/BoundingBox.cpp @@ -30,7 +30,7 @@ public: Vector3d(1.999, 0, 1.5), Vector3d(1.999, 4, 1.5), // Should intersect at 0.25, face 0 (YM) Vector3d(2.001, 0, 1.5), Vector3d(2.001, 4, 1.5), // Should not intersect } ; - for (int i = 0; i < ARRAYCOUNT(LineDefs) / 2; i++) + for (size_t i = 0; i < ARRAYCOUNT(LineDefs) / 2; i++) { double LineCoeff; char Face; -- cgit v1.2.3