Fixed compile time warning
multiplayer_lobby.cpp:90: warning: cast from pointer to integer of different size
This commit is contained in:
parent
a556922040
commit
ced7085fec
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue