[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src gamestatus.cpp
From: |
Jon Daniel |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src gamestatus.cpp |
Date: |
Sun, 23 Jan 2005 11:05:04 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Jon Daniel <address@hidden> 05/01/23 16:05:04
Modified files:
src : gamestatus.cpp
Log message:
fixed compile time warning gamestatus.cpp:106: int format,
long unsigned int arg (arg 3) by changing %d to %lu.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/gamestatus.cpp.diff?tr1=1.51&tr2=1.52&r1=text&r2=text
Patches:
Index: wesnoth/src/gamestatus.cpp
diff -u wesnoth/src/gamestatus.cpp:1.51 wesnoth/src/gamestatus.cpp:1.52
--- wesnoth/src/gamestatus.cpp:1.51 Sat Dec 4 23:44:09 2004
+++ wesnoth/src/gamestatus.cpp Sun Jan 23 16:05:03 2005
@@ -1,4 +1,4 @@
-/* $Id: gamestatus.cpp,v 1.51 2004/12/04 23:44:09 isaaccp Exp $ */
+/* $Id: gamestatus.cpp,v 1.52 2005/01/23 16:05:03 j_daniel Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -103,7 +103,7 @@
void gamestatus::write(config& cfg) const
{
char buf[50];
- sprintf(buf,"%d",turn_);
+ sprintf(buf,"%lu",turn_);
cfg["turn_at"] = buf;
sprintf(buf,"%d",numTurns_);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Wesnoth-cvs-commits] wesnoth/src gamestatus.cpp,
Jon Daniel <=