CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Jon Daniel <[EMAIL PROTECTED]> 05/01/23 16:28:39
Modified files:
src : playturn.cpp
Log message:
fixed compile time warning playturn.cpp:1611: int format,
size_t arg (arg 3) by changing %d to %lu
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/playturn.cpp.diff?tr1=1.321&tr2=1.322&r1=text&r2=text
Patches:
Index: wesnoth/src/playturn.cpp
diff -u wesnoth/src/playturn.cpp:1.321 wesnoth/src/playturn.cpp:1.322
--- wesnoth/src/playturn.cpp:1.321 Sat Jan 22 10:47:16 2005
+++ wesnoth/src/playturn.cpp Sun Jan 23 16:28:39 2005
@@ -1,4 +1,4 @@
-/* $Id: playturn.cpp,v 1.321 2005/01/22 10:47:16 silene Exp $ */
+/* $Id: playturn.cpp,v 1.322 2005/01/23 16:28:39 j_daniel Exp $ */
/*
Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -1608,7 +1608,7 @@
start["snapshot"] = "yes";
char buf[50];
- sprintf(buf,"%d",gui_.playing_team());
+ sprintf(buf,"%lu",gui_.playing_team());
start["playing_team"] = buf;
for(std::vector<team>::const_iterator t = teams_.begin(); t !=
teams_.end(); ++t) {