Author: mordante
Date: Sun Mar 29 22:30:31 2009
New Revision: 34256
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34256&view=rev
Log:
Converted the old style casts to c++ style casts.
Modified:
trunk/src/multiplayer_lobby.cpp
Modified: trunk/src/multiplayer_lobby.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/multiplayer_lobby.cpp?rev=34256&r1=34255&r2=34256&view=diff
==============================================================================
--- trunk/src/multiplayer_lobby.cpp (original)
+++ trunk/src/multiplayer_lobby.cpp Sun Mar 29 22:30:31 2009
@@ -332,8 +332,8 @@
x = event.button.x;
y = event.button.y;
} else {
- x = (long)event.user.data1;
- y = (long)event.user.data2;
+ x = reinterpret_cast<long>(event.user.data1);
+ y = reinterpret_cast<long>(event.user.data2);
}
const SDL_Rect& loc = inner_location();
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits