aboutsummaryrefslogtreecommitdiff
path: root/smelt/sdl/sys_sdl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'smelt/sdl/sys_sdl.cpp')
-rw-r--r--smelt/sdl/sys_sdl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/smelt/sdl/sys_sdl.cpp b/smelt/sdl/sys_sdl.cpp
index beb07a0..c0f64d0 100644
--- a/smelt/sdl/sys_sdl.cpp
+++ b/smelt/sdl/sys_sdl.cpp
@@ -51,7 +51,7 @@ bool SMELT_IMPL::smInit()
int CPUInfo[4]={-1};
__cpuid(CPUInfo,0x80000000);
unsigned int nExIds=CPUInfo[0];
- char *cpuName,*loced;cpuName=calloc(0x40,sizeof(char));loced=cpuName;
+ char *cpuName,*loced;cpuName=(char*)calloc(0x40,sizeof(char));loced=cpuName;
for(unsigned int i=0x80000000;i<=nExIds;++i)
{
__cpuid(CPUInfo, i);