diff options
author | Jonathan Gray | 2004-06-22 10:43:00 +0000 |
---|---|---|
committer | Jonathan Gray | 2004-06-22 10:43:00 +0000 |
commit | 31970a78776de8803ef00f45d75313035683fe49 (patch) | |
tree | d04654abb8c330c38e061b47a9c4a0b01c8151d9 /backends/x11/x11.cpp | |
parent | 7989a9895252935ab8bcb0740f7ea82301006c60 (diff) | |
download | scummvm-rg350-31970a78776de8803ef00f45d75313035683fe49.tar.gz scummvm-rg350-31970a78776de8803ef00f45d75313035683fe49.tar.bz2 scummvm-rg350-31970a78776de8803ef00f45d75313035683fe49.zip |
compilation fix from Nicolas Joly, bug #976657
svn-id: r14000
Diffstat (limited to 'backends/x11/x11.cpp')
-rw-r--r-- | backends/x11/x11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/x11/x11.cpp b/backends/x11/x11.cpp index 3f8d2ddb8f..d7899a30c3 100644 --- a/backends/x11/x11.cpp +++ b/backends/x11/x11.cpp @@ -818,7 +818,7 @@ void OSystem_X11::setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, if (_ms_buf) free(_ms_buf); - _ms_buf = malloc(w * h); + _ms_buf = (byte *) malloc(w * h); memcpy(_ms_buf, buf, w * h); if (_mouse_state_changed == false) { |