mirror of https://github.com/axmolengine/axmol.git
[Win32] fix argument type.
- argument of interface is a long type.
This commit is contained in:
parent
9f16bfadd1
commit
5e36021d54
|
@ -121,7 +121,7 @@ bool FileUtilsWin32::isAbsolutePath(const std::string& strPath) const
|
|||
return false;
|
||||
}
|
||||
|
||||
unsigned char* FileUtilsWin32::getFileData(const char* filename, const char* mode, unsigned long* size)
|
||||
unsigned char* FileUtilsWin32::getFileData(const char* filename, const char* mode, long* size)
|
||||
{
|
||||
unsigned char * pBuffer = NULL;
|
||||
CCASSERT(filename != NULL && size != NULL && mode != NULL, "Invalid parameters.");
|
||||
|
|
|
@ -58,7 +58,7 @@ protected:
|
|||
* @return Upon success, a pointer to the data is returned, otherwise NULL.
|
||||
* @warning Recall: you are responsible for calling delete[] on any Non-NULL pointer returned.
|
||||
*/
|
||||
virtual unsigned char* getFileData(const char* filename, const char* mode, unsigned long * size) override;
|
||||
virtual unsigned char* getFileData(const char* filename, const char* mode, long * size) override;
|
||||
|
||||
/**
|
||||
* Gets full path for filename, resolution directory and search path.
|
||||
|
|
Loading…
Reference in New Issue