[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:19:56 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Jon Daniel <address@hidden> 05/01/23 16:19:56
Modified files:
src : config.cpp
Log message:
fixed compile time warning config.cpp:1609: int format,
size_t 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.120&tr2=1.121&r1=text&r2=text
Patches:
Index: wesnoth/src/config.cpp
diff -u wesnoth/src/config.cpp:1.120 wesnoth/src/config.cpp:1.121
--- wesnoth/src/config.cpp:1.120 Sun Jan 23 16:06:55 2005
+++ wesnoth/src/config.cpp Sun Jan 23 16:19:53 2005
@@ -1,4 +1,4 @@
-/* $Id: config.cpp,v 1.120 2005/01/23 16:06:55 j_daniel Exp $ */
+/* $Id: config.cpp,v 1.121 2005/01/23 16:19:53 j_daniel Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -1606,7 +1606,7 @@
else {
config& new_change =
res.add_child("change_child");
char buf[50];
- sprintf(buf,"%d",bi);
+ sprintf(buf,"%lu",bi);
new_change.values["index"] = buf;
new_change.add_child(*itor,a[ai]->get_diff(*b[bi]));