diff --git a/client/CBattleInterface.cpp b/client/CBattleInterface.cpp index 11ac6f4ba..a4cd147d8 100644 --- a/client/CBattleInterface.cpp +++ b/client/CBattleInterface.cpp @@ -3227,7 +3227,7 @@ CBattleInterface::SiegeHelper::~SiegeHelper() std::string CBattleInterface::SiegeHelper::getSiegeName(ui16 what, ui16 additInfo) const { char buf[100]; - itoa(additInfo, buf, 10); + SDL_itoa(additInfo, buf, 10); std::string addit(buf); switch(what) { diff --git a/hch/CHeroHandler.h b/hch/CHeroHandler.h index d5258591f..0462dbc1b 100644 --- a/hch/CHeroHandler.h +++ b/hch/CHeroHandler.h @@ -108,7 +108,7 @@ public: }; std::vector ballistics; //info about ballistics ability per level; [0] - none; [1] - basic; [2] - adv; [3] - expert - std::vector> wallPositions[F_NUMBER]; //positions of different pieces of wall + std::vector > wallPositions[F_NUMBER]; //positions of different pieces of wall void loadWallPositions(); std::map obstacles; //info about obstacles that may be placed on battlefield