From f6a1f5cc951954ac5ea410189b2c4b401ae0093e Mon Sep 17 00:00:00 2001 From: James Chen Date: Tue, 26 Nov 2013 21:54:48 +0800 Subject: [PATCH] issue #3279: A warning fix for 64bit platform. --- cocos/scripting/javascript/bindings/network/XMLHTTPRequest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;