From fcaaa9a135bc6b10cd3b954541f7b57183268f1f Mon Sep 17 00:00:00 2001 From: rh101 Date: Thu, 2 Sep 2021 16:20:16 +1000 Subject: [PATCH] Revert to `long` for library usage --- cocos/network/CCDownloader-curl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/network/CCDownloader-curl.cpp b/cocos/network/CCDownloader-curl.cpp index c28ae86a79..24e6c6f04d 100644 --- a/cocos/network/CCDownloader-curl.cpp +++ b/cocos/network/CCDownloader-curl.cpp @@ -581,7 +581,7 @@ private: if (runningHandles) { // get timeout setting from multi-handle - int32_t timeoutMS = -1; + long timeoutMS = -1; curl_multi_timeout(curlmHandle, &timeoutMS); if (timeoutMS < 0) {