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) diff --git a/lib/Connection.h b/lib/Connection.h index 7158f0c00..c48e70b98 100644 --- a/lib/Connection.h +++ b/lib/Connection.h @@ -27,7 +27,7 @@ #include "mapping/CCampaignHandler.h" //for CCampaignState #include "rmg/CMapGenerator.h" // for CMapGenOptions -const ui32 version = 741; +const ui32 version = 742; class CConnection; class CGObjectInstance;