diff options
author | Max Horn | 2003-09-20 20:58:31 +0000 |
---|---|---|
committer | Max Horn | 2003-09-20 20:58:31 +0000 |
commit | e13060dcb9f6113d7b215f947d6776c5ea9e5293 (patch) | |
tree | 60830ba97d94de769a7075ad40b61189e7bba82f /base | |
parent | f539bd72e7191ccb639ed32f4ab920fd057cc9c5 (diff) | |
download | scummvm-rg350-e13060dcb9f6113d7b215f947d6776c5ea9e5293.tar.gz scummvm-rg350-e13060dcb9f6113d7b215f947d6776c5ea9e5293.tar.bz2 scummvm-rg350-e13060dcb9f6113d7b215f947d6776c5ea9e5293.zip |
fixed AMD64 warning
svn-id: r10342
Diffstat (limited to 'base')
-rw-r--r-- | base/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/main.cpp b/base/main.cpp index 6df2ae44a1..e92d9b3069 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -297,11 +297,11 @@ void operator delete(void *ptr) { #undef free void free_check(void *ptr) { - if ((uint)ptr == 0xE7E7E7E7UL) { + if ((unsigned long)ptr == 0xE7E7E7E7UL) { printf("ERROR: freeing 0xE7E7E7E7\n"); exit(1); } - if ((int)ptr & 1) { + if ((unsigned long)ptr & 1) { warning("Freeing odd address 0x%x", ptr); } free(ptr); |