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

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

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


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

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




reply via email to

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