diff --git a/cocos/scripting/javascript/bindings/network/XMLHTTPRequest.h b/cocos/scripting/javascript/bindings/network/XMLHTTPRequest.h index 769e9054b8..e5e26c41b1 100644 --- a/cocos/scripting/javascript/bindings/network/XMLHTTPRequest.h +++ b/cocos/scripting/javascript/bindings/network/XMLHTTPRequest.h @@ -94,7 +94,7 @@ private: std::string _meth; std::string _type; char* _data; - size_t _dataSize; + uint32_t _dataSize; JSObject* _onreadystateCallback; int _readyState; int _status;