CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Jon Daniel <[EMAIL PROTECTED]> 05/02/22 17:55:58
Modified files:
src : multiplayer_lobby.cpp
Log message:
Fixed compile time warning multiplayer_lobby.cpp:90: warning: cast from
pointer to integer of different size
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/multiplayer_lobby.cpp.diff?tr1=1.59&tr2=1.60&r1=text&r2=text
Patches:
Index: wesnoth/src/multiplayer_lobby.cpp
diff -u wesnoth/src/multiplayer_lobby.cpp:1.59
wesnoth/src/multiplayer_lobby.cpp:1.60
--- wesnoth/src/multiplayer_lobby.cpp:1.59 Mon Feb 21 00:40:28 2005
+++ wesnoth/src/multiplayer_lobby.cpp Tue Feb 22 17:55:57 2005
@@ -1,4 +1,4 @@
-/* $Id: multiplayer_lobby.cpp,v 1.59 2005/02/21 00:40:28 Sirp Exp $ */
+/* $Id: multiplayer_lobby.cpp,v 1.60 2005/02/22 17:55:57 j_daniel Exp $ */
/*
Copyright (C)
Part of the Battle for Wesnoth Project http://www.wesnoth.org
@@ -87,7 +87,7 @@
//generate a unique id to show the map as
char buf[50];
- sprintf(buf,"addr %d",(int)(SDL_Surface*)mini);
+ sprintf(buf,"addr
%ul",(size_t)(SDL_Surface*)mini);
image::register_image(buf,mini);