diff --git a/src/core/libraries/np/np_web_api_internal.cpp b/src/core/libraries/np/np_web_api_internal.cpp index eb80d137f..4f4fdc45d 100644 --- a/src/core/libraries/np/np_web_api_internal.cpp +++ b/src/core/libraries/np/np_web_api_internal.cpp @@ -452,7 +452,7 @@ s32 createRequest(s32 titleUserCtxId, const char* pApiGroup, const char* pPath, } s64 user_ctx_id = static_cast(titleUserCtxId); - s32 request_id = (user_ctx_id << 0x20) | g_request_count; + s64 request_id = (user_ctx_id << 0x20) | g_request_count; while (user_context->requests.contains(request_id)) { request_id--; }