diff options
Diffstat (limited to '3rdparty/bx/tools/bin2c/bin2c.cpp')
-rw-r--r-- | 3rdparty/bx/tools/bin2c/bin2c.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdparty/bx/tools/bin2c/bin2c.cpp b/3rdparty/bx/tools/bin2c/bin2c.cpp index 47fc3bc2d22..d33d9204bc9 100644 --- a/3rdparty/bx/tools/bin2c/bin2c.cpp +++ b/3rdparty/bx/tools/bin2c/bin2c.cpp @@ -145,12 +145,12 @@ int main(int _argc, const char* _argv[]) } void* data = NULL; - size_t size = 0; + uint32_t size = 0; bx::CrtFileReader fr; if (bx::open(&fr, filePath) ) { - size = (size_t)bx::getSize(&fr); + size = uint32_t(bx::getSize(&fr) ); data = malloc(size); bx::read(&fr, data, size); |