CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Jon Daniel <[EMAIL PROTECTED]> 05/01/23 16:13:12
Modified files:
src : replay.cpp
Log message:
fixed compile time warning replay.cpp:109: int format,
size_t arg (arg 3) by changing %d to %lu
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/replay.cpp.diff?tr1=1.88&tr2=1.89&r1=text&r2=text
Patches:
Index: wesnoth/src/replay.cpp
diff -u wesnoth/src/replay.cpp:1.88 wesnoth/src/replay.cpp:1.89
--- wesnoth/src/replay.cpp:1.88 Fri Dec 31 21:01:37 2004
+++ wesnoth/src/replay.cpp Sun Jan 23 16:13:12 2005
@@ -1,4 +1,4 @@
-/* $Id: replay.cpp,v 1.88 2004/12/31 21:01:37 isaaccp Exp $ */
+/* $Id: replay.cpp,v 1.89 2005/01/23 16:13:12 j_daniel Exp $ */
/*
Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -106,7 +106,7 @@
{
config res;
char buf[50];
- sprintf(buf,"%d",units.size());
+ sprintf(buf,"%lu",units.size());
res["num_units"] = buf;
for(unit_map::const_iterator i = units.begin(); i !=
units.end(); ++i) {