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) {