diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-04 12:21:03 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-04 12:21:03 +0200 |
commit | 2b46f6771245914713de7c8e0e582584f69db667 (patch) | |
tree | 416e121c3eb69ae9e497cac087b8dbdb5f44b947 | |
parent | Removed OS dependencies from CryptoPP; Removed unused modules that didn't compile on some platforms (diff) | |
download | cuberite-2b46f6771245914713de7c8e0e582584f69db667.tar cuberite-2b46f6771245914713de7c8e0e582584f69db667.tar.gz cuberite-2b46f6771245914713de7c8e0e582584f69db667.tar.bz2 cuberite-2b46f6771245914713de7c8e0e582584f69db667.tar.lz cuberite-2b46f6771245914713de7c8e0e582584f69db667.tar.xz cuberite-2b46f6771245914713de7c8e0e582584f69db667.tar.zst cuberite-2b46f6771245914713de7c8e0e582584f69db667.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Protocol132.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Protocol132.cpp b/source/Protocol132.cpp index 2a0b7a605..2765b66b2 100644 --- a/source/Protocol132.cpp +++ b/source/Protocol132.cpp @@ -591,7 +591,7 @@ void cProtocol132::HandleEncryptionKeyResponse(const AString & a_EncKey, const A m_Client->Kick("Hacked client");
return;
}
- if (ntohl(*((int *)DecryptedNonce)) != (unsigned)this)
+ if (ntohl(*((int *)DecryptedNonce)) != (unsigned)(uintptr_t)this)
{
LOGD("Bad nonce value");
m_Client->Kick("Hacked client");
|