diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-11 03:35:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-11 03:35:44 +0300 |
commit | 0b373909f1ad987e38b9c07f799f48c3c0b0c3fd (patch) | |
tree | a3170b0f5138da46f730f76725259e39cab32ff6 /src/net/tmwa/network.cpp | |
parent | 4d236566cc8132fdbcb901668c3291f7cf3279af (diff) | |
download | plus-0b373909f1ad987e38b9c07f799f48c3c0b0c3fd.tar.gz plus-0b373909f1ad987e38b9c07f799f48c3c0b0c3fd.tar.bz2 plus-0b373909f1ad987e38b9c07f799f48c3c0b0c3fd.tar.xz plus-0b373909f1ad987e38b9c07f799f48c3c0b0c3fd.zip |
Fix compilation issues.
Diffstat (limited to 'src/net/tmwa/network.cpp')
-rw-r--r-- | src/net/tmwa/network.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/network.cpp b/src/net/tmwa/network.cpp index 52cd5cf62..40106ebfa 100644 --- a/src/net/tmwa/network.cpp +++ b/src/net/tmwa/network.cpp @@ -86,9 +86,9 @@ short packet_lengths[] = -1, 122, 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() : |