Fixed compile time warning

multiplayer_lobby.cpp:90: warning: cast from pointer to integer of
different size
This commit is contained in:
Jon Daniel 2005-02-22 17:55:57 +00:00
parent a556922040
commit ced7085fec

View file

@ -87,7 +87,7 @@ void lobby::gamelist_updated()
//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);