Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27590
Modified Files:
leveleditor.cpp
Log Message:
- fixed type warning on OS X
Index: leveleditor.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/leveleditor.cpp,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -d -r1.135 -r1.136
--- leveleditor.cpp 7 Jun 2004 21:46:26 -0000 1.135
+++ leveleditor.cpp 7 Jun 2004 22:06:14 -0000 1.136
@@ -1782,7 +1782,7 @@
for(unsigned int t = 0; t < sizeof(text[i])/sizeof(char *); t++)
context.draw_text(white_text, text[i][t], Vector(5, 80+(t*white_text->get_height())), LAYER_GUI);
- sprintf(str,"Press any key to continue - Page %d/%d?", i, sizeof(text));
+ sprintf(str,"Press any key to continue - Page %d/%d?", i, static_cast<int>(sizeof(text)));
context.draw_text(gold_text, str, Vector(0, 0), LAYER_GUI);
context.do_drawing();
|