浏览代码

Use size_t for file size instead of unsigned int

This is one step to help us open files with more then 4 GB size.
tanolino 3 年之前
父节点
当前提交
24d110199a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      code/AssetLib/STL/STLLoader.h

+ 1 - 1
code/AssetLib/STL/STLLoader.h

@@ -109,7 +109,7 @@ protected:
     const char* mBuffer;
 
     /** Size of the file, in bytes */
-    unsigned int mFileSize;
+    size_t mFileSize;
 
     /** Output scene */
     aiScene* mScene;