summaryrefslogtreecommitdiff
path: root/src/net/tmwa/network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/network.cpp')
-rw-r--r--src/net/tmwa/network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/network.cpp b/src/net/tmwa/network.cpp
index 278f8e2fd..c8c28e0d2 100644
--- a/src/net/tmwa/network.cpp
+++ b/src/net/tmwa/network.cpp
@@ -221,7 +221,7 @@ MessageIn *Network::getNextMessage()
// msgId, len));
#endif
- MessageIn *msg = new MessageIn(mInBuffer, len);
+ MessageIn *const msg = new MessageIn(mInBuffer, len);
SDL_mutexV(mMutex);
return msg;