summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-11 03:35:44 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-11 03:35:44 +0300
commit0b373909f1ad987e38b9c07f799f48c3c0b0c3fd (patch)
treea3170b0f5138da46f730f76725259e39cab32ff6 /src/net/eathena
parent4d236566cc8132fdbcb901668c3291f7cf3279af (diff)
downloadmanaplus-0b373909f1ad987e38b9c07f799f48c3c0b0c3fd.tar.gz
manaplus-0b373909f1ad987e38b9c07f799f48c3c0b0c3fd.tar.bz2
manaplus-0b373909f1ad987e38b9c07f799f48c3c0b0c3fd.tar.xz
manaplus-0b373909f1ad987e38b9c07f799f48c3c0b0c3fd.zip
Fix compilation issues.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/network.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/network.cpp b/src/net/eathena/network.cpp
index 419459e35..b16d36158 100644
--- a/src/net/eathena/network.cpp
+++ b/src/net/eathena/network.cpp
@@ -108,9 +108,9 @@ short packet_lengths[] =
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
};
-static constexpr const int packet_lengths_size
+static const int packet_lengths_size
= static_cast<int>(sizeof(packet_lengths) / sizeof (short));
-static constexpr const int messagesSize = 0xffff;
+static const int messagesSize = 0xffff;
Network *Network::mInstance = nullptr;
Network::Network() :