From 291da5e89307248e2ad438e2d16e01255b994510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20W=2E=20Urba=C5=84czyk?= Date: Thu, 12 Sep 2013 22:33:08 +0000 Subject: [PATCH] Fixed #1442, likely a few others as well. --- client/CAdvmapInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/CAdvmapInterface.cpp b/client/CAdvmapInterface.cpp index 6fe10a96c..e57e547a4 100644 --- a/client/CAdvmapInterface.cpp +++ b/client/CAdvmapInterface.cpp @@ -134,7 +134,7 @@ void CTerrainRect::showPath(const SDL_Rect * extRect, SDL_Surface * to) {-1, 1, 2, 23, -1, 3, 22, 21, 12} }; //table of magic values TODO meaning, change variable name - for (size_t i=0; i < currentPath->nodes.size()-1; ++i) + for (int i=0; i < (int)currentPath->nodes.size()-1; ++i) { const int3 &curPos = currentPath->nodes[i].coord, &nextPos = currentPath->nodes[i+1].coord; if(curPos.z != adventureInt->position.z)