summaryrefslogtreecommitdiffstats
path: root/tools/gfx/cpu/render-cpu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/cpu/render-cpu.cpp')
-rw-r--r--tools/gfx/cpu/render-cpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/cpu/render-cpu.cpp b/tools/gfx/cpu/render-cpu.cpp
index 630ba2925..ab9224657 100644
--- a/tools/gfx/cpu/render-cpu.cpp
+++ b/tools/gfx/cpu/render-cpu.cpp
@@ -269,7 +269,7 @@ public:
totalDataSize += levelDataSize;
}
- void* textureData = malloc(totalDataSize);
+ void* textureData = malloc((size_t)totalDataSize);
m_data = textureData;
if( initData )