From 24f9a0c0ef3d9fae24512a13a939d2db963675d5 Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Mon, 16 Jan 2017 15:29:49 +0100 Subject: [PATCH] Fix #5081: Crash on fetching server list --- src/openrct2/network/http.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/network/http.cpp b/src/openrct2/network/http.cpp index 62b69ecc87..de698abb8e 100644 --- a/src/openrct2/network/http.cpp +++ b/src/openrct2/network/http.cpp @@ -151,7 +151,7 @@ http_response_t *http_request(const http_request_t *request) return NULL; } - sint32 httpStatusCode; + long httpStatusCode; curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &httpStatusCode); char* contentType;