From 45c1cec1cb32c959a09b1cbc8729b06aa22e1ee5 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Thu, 10 Apr 2008 21:48:36 +0000 Subject: Fixed compile warning. --- 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 31e3eb77..c262602d 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -422,7 +422,7 @@ Being::drawEmotion(Graphics *graphics, int offsetX, int offsetY) const int py = mPy + offsetY - 60; const int emotionIndex = mEmotion - 1; - if (emotionIndex >= 0 && emotionIndex < emotionSet->size()) + if (emotionIndex >= 0 && emotionIndex < (int) emotionSet->size()) graphics->drawImage(emotionSet->get(emotionIndex), px, py); } -- cgit v1.2.3-60-g2f50