diff options
author | Jonathan Gray | 2003-08-21 14:58:47 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-08-21 14:58:47 +0000 |
commit | a51be5d39e0d69b835f476874c63433b85274baa (patch) | |
tree | 13d64ad2da6671018507692360df5194703f9703 /sword2/driver/_mouse.cpp | |
parent | ce42f4d3dd461ced69470ea70e4f840c8abfb246 (diff) | |
download | scummvm-rg350-a51be5d39e0d69b835f476874c63433b85274baa.tar.gz scummvm-rg350-a51be5d39e0d69b835f476874c63433b85274baa.tar.bz2 scummvm-rg350-a51be5d39e0d69b835f476874c63433b85274baa.zip |
-Werror cleanup, don't try to free const variables...
svn-id: r9808
Diffstat (limited to 'sword2/driver/_mouse.cpp')
-rw-r--r-- | sword2/driver/_mouse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/_mouse.cpp b/sword2/driver/_mouse.cpp index 97dbd1ca7e..029e49beea 100644 --- a/sword2/driver/_mouse.cpp +++ b/sword2/driver/_mouse.cpp @@ -295,7 +295,7 @@ void DrawMouse(void) { mouse_width += deltaX; mouse_height += deltaY; - if (mouse_width * mouse_height > sizeof(_mouseData)) { + if ((uint32)(mouse_width * mouse_height) > sizeof(_mouseData)) { warning("Mouse cursor too large"); return; } |