X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGameTick.cpp;h=48b34b90c1d8c72ab84f9515ee11ad18936ddea2;hb=d86482929b8f4354d16312a0e42c6a28f73aeb83;hp=b216545a8f4dcd732d770c75449f2a32458132f0;hpb=0e68eb62170f14f5b2aa89864e437fc2287e7565;p=lugaru.git diff --git a/Source/GameTick.cpp b/Source/GameTick.cpp index b216545..48b34b9 100644 --- a/Source/GameTick.cpp +++ b/Source/GameTick.cpp @@ -200,7 +200,7 @@ public: is >> mapname; is.ignore(256, ':'); is >> description; - for (unsigned pos = description.find('_'); pos != string::npos; pos = description.find('_', pos)) { + for (size_t pos = description.find('_'); pos != string::npos; pos = description.find('_', pos)) { description.replace(pos, 1, 1, ' '); } is.ignore(256, ':');