$OpenBSD: patch-src_net_tmwa_network_cpp,v 1.1 2011/08/26 16:33:38 naddy Exp $
--- src/net/tmwa/network.cpp.orig	Thu Aug 25 19:22:09 2011
+++ src/net/tmwa/network.cpp	Thu Aug 25 19:22:35 2011
@@ -479,7 +479,7 @@ void Network::setError(const std::string &error)
 Uint16 Network::readWord(int pos)
 {
 #if SDL_BYTEORDER == SDL_BIG_ENDIAN
-    return SDL_Swap16((*static_cast<Uint16*>(mInBuffer + (pos))));
+    return SDL_Swap16((*(Uint16*)(mInBuffer + (pos))));
 #else
     return (*reinterpret_cast<Uint16*>(mInBuffer + (pos)));
 #endif
