wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src replay.cpp


From: Jon Daniel
Subject: [Wesnoth-cvs-commits] wesnoth/src replay.cpp
Date: Sun, 23 Jan 2005 11:13:13 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Jon Daniel <address@hidden>     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 <address@hidden>
    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) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]