[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src config.cpp
From: |
Jon Daniel |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src config.cpp |
Date: |
Sun, 23 Jan 2005 11:06:56 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Jon Daniel <address@hidden> 05/01/23 16:06:55
Modified files:
src : config.cpp
Log message:
fixed compile time warning config.cpp:1584: 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/config.cpp.diff?tr1=1.119&tr2=1.120&r1=text&r2=text
Patches:
Index: wesnoth/src/config.cpp
diff -u wesnoth/src/config.cpp:1.119 wesnoth/src/config.cpp:1.120
--- wesnoth/src/config.cpp:1.119 Fri Dec 31 21:01:37 2004
+++ wesnoth/src/config.cpp Sun Jan 23 16:06:55 2005
@@ -1,4 +1,4 @@
-/* $Id: config.cpp,v 1.119 2004/12/31 21:01:37 isaaccp Exp $ */
+/* $Id: config.cpp,v 1.120 2005/01/23 16:06:55 j_daniel Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -1581,7 +1581,7 @@
if(b.size() - bi > a.size() - ai) {
config& new_delete =
res.add_child("delete_child");
char buf[50];
- sprintf(buf,"%d",bi-ndeletes);
+ sprintf(buf,"%lu",bi-ndeletes);
new_delete.values["index"] = buf;
new_delete.add_child(*itor);
- [Wesnoth-cvs-commits] wesnoth/src config.cpp,
Jon Daniel <=