From e47f3d0635e7dd532bb28f6cfc63f2f1efdc46cb Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Tue, 17 Dec 2013 21:24:14 +0100 Subject: Fixed compiler warning related to implicit size_t to int conversion --- src/debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug.cpp b/src/debug.cpp index a2b2707..a5000ff 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -124,7 +124,7 @@ bool Debug::isFlagSet(DebugMask mask) void Debug::printFlags(void) { int i; - for (i = 0; i < sizeof(s_labels)/sizeof(*s_labels); i++) + for (i = 0; i < (int)(sizeof(s_labels)/sizeof(*s_labels)); i++) { if (s_labels[i].name) { -- cgit v0.12