diff options
Diffstat (limited to 'src/net/ea/network.cpp')
-rw-r--r-- | src/net/ea/network.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/network.cpp b/src/net/ea/network.cpp index 618d4895f..11a0757f1 100644 --- a/src/net/ea/network.cpp +++ b/src/net/ea/network.cpp @@ -155,7 +155,7 @@ void Network::disconnect() void Network::flush() { - if ((mOutSize == 0u) || mState != CONNECTED) + if ((mOutSize == 0U) || mState != CONNECTED) return; SDL_mutexP(mMutexOut); @@ -181,7 +181,7 @@ void Network::skip(const int len) { SDL_mutexP(mMutexIn); mToSkip += len; - if (mInSize == 0u) + if (mInSize == 0U) { SDL_mutexV(mMutexIn); return; @@ -301,7 +301,7 @@ void Network::receive() { // DEBUGLOG("Receive " + toString(ret) + " bytes"); mInSize += ret; - if (mToSkip != 0u) + if (mToSkip != 0U) { if (mInSize >= mToSkip) { |