From bb4819bce4a4d406279f74625a5cc4b0f4393950 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 23 Mar 2023 11:43:07 +0100 Subject: [PATCH] sys: Fixed http request stack overflow --- lib/external/pattern_language | 2 +- lib/libimhex/include/hex/helpers/http_requests.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/external/pattern_language b/lib/external/pattern_language index 25922e11b..36f3c9cc8 160000 --- a/lib/external/pattern_language +++ b/lib/external/pattern_language @@ -1 +1 @@ -Subproject commit 25922e11b9cc6bbde1a321f5bd6ab2e622b07531 +Subproject commit 36f3c9cc8c3f38bb1f2540f6dbcdc842f5a67a0d diff --git a/lib/libimhex/include/hex/helpers/http_requests.hpp b/lib/libimhex/include/hex/helpers/http_requests.hpp index 2eaa55242..774d10990 100644 --- a/lib/libimhex/include/hex/helpers/http_requests.hpp +++ b/lib/libimhex/include/hex/helpers/http_requests.hpp @@ -305,7 +305,7 @@ namespace hex { } } - u32 statusCode = 0; + long statusCode = 0; curl_easy_getinfo(this->m_curl, CURLINFO_RESPONSE_CODE, &statusCode); return Result(statusCode, { data.begin(), data.end() });