Author: mordante
Date: Fri Oct 21 20:59:25 2011
New Revision: 51564

URL: http://svn.gna.org/viewcvs/wesnoth?rev=51564&view=rev
Log:
Remove an old-style-cast.

Modified:
    trunk/src/network_worker.cpp

Modified: trunk/src/network_worker.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/network_worker.cpp?rev=51564&r1=51563&r2=51564&view=diff
==============================================================================
--- trunk/src/network_worker.cpp (original)
+++ trunk/src/network_worker.cpp Fri Oct 21 20:59:25 2011
@@ -221,7 +221,7 @@
 #endif
                        {
 #ifdef USE_POLL
-                               struct pollfd fd = { ((_TCPsocket*)s)->channel, 
POLLIN, 0 };
+                               struct pollfd fd = { 
reinterpret_cast<_TCPsocket*>(s)->channel, POLLIN, 0 };
                                int poll_res;
 
                                //we timeout of the poll every 100ms. This lets 
us check to


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to