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: Fri, 03 Jun 2005 08:18:14 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Jon Daniel <address@hidden>     05/06/03 12:18:13

Modified files:
        src            : playturn.cpp 

Log message:
        n is size_t not int

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/playturn.cpp.diff?tr1=1.375&tr2=1.376&r1=text&r2=text

Patches:
Index: wesnoth/src/playturn.cpp
diff -u wesnoth/src/playturn.cpp:1.375 wesnoth/src/playturn.cpp:1.376
--- wesnoth/src/playturn.cpp:1.375      Fri Jun  3 12:15:03 2005
+++ wesnoth/src/playturn.cpp    Fri Jun  3 12:18:13 2005
@@ -1,4 +1,4 @@
-/* $Id: playturn.cpp,v 1.375 2005/06/03 12:15:03 j_daniel Exp $ */
+/* $Id: playturn.cpp,v 1.376 2005/06/03 12:18:13 j_daniel Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -1809,9 +1809,9 @@
                //cause it to be displayed in the correct colour
                if(leader != units_.end()) {
                        str << IMAGE_PREFIX << leader->second.type().image() << 
COLUMN_SEPARATOR
-                           << "\027[3" << lexical_cast<char, int>(n+1) << 'm' 
<< leader->second.description() << COLUMN_SEPARATOR;
+                           << "\027[3" << lexical_cast<char, size_t>(n+1) << 
'm' << leader->second.description() << COLUMN_SEPARATOR;
                } else {
-                       str << ' ' << COLUMN_SEPARATOR << "\027[3" << 
lexical_cast<char, int>(n+1) << "m-" << COLUMN_SEPARATOR;
+                       str << ' ' << COLUMN_SEPARATOR << "\027[3" << 
lexical_cast<char, size_t>(n+1) << "m-" << COLUMN_SEPARATOR;
                }
 
                if(enemy) {




reply via email to

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