From 964ffbb9b6ed5246b14a7d0c0d065f7d38af0912 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 27 Mar 2011 21:41:20 +0300 Subject: Fix some warnings and improve code from gcc 4.6 compilation. --- src/being.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being.cpp') diff --git a/src/being.cpp b/src/being.cpp index 2f911b1ff..2e2c68283 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -2023,7 +2023,7 @@ void Being::recalcSpritesOrder() // logger->log("preparation end"); int lastRemap = 0; - int cnt = 0; + unsigned cnt = 0; while (cnt < 15 && lastRemap >= 0) { -- cgit v1.2.3-70-g09d2