From 78b5a13f8ac721cf780e85f60d5c2baef2003717 Mon Sep 17 00:00:00 2001 From: Minho Kang Date: Fri, 18 Aug 2017 21:14:09 +0900 Subject: [PATCH] Fix segfault on 64bit Upper portion of address data got lost when converting to int32_t and segfault when accessing them. This commit contains fix for it. --- src/servers/Server_Lobby/blowfish.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/Server_Lobby/blowfish.cpp b/src/servers/Server_Lobby/blowfish.cpp index 236be5d9..5b830e5b 100644 --- a/src/servers/Server_Lobby/blowfish.cpp +++ b/src/servers/Server_Lobby/blowfish.cpp @@ -104,7 +104,7 @@ void BlowFish::initialize (BYTE key[], int32_t keybytes) int32_t v10 = keybytes; - int32_t v9 = (uintptr_t)key; + uintptr_t v9 = (uintptr_t)key; int32_t v8 = 0; int32_t v11 = 0; do {