[Scummvm-git-logs] scummvm master -> 69db8b9b3385317c8c2870e7c19fc1608efc29ea
ccawley2011
ccawley2011 at gmail.com
Wed Aug 25 00:18:51 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
69db8b9b33 DS: Fix compiler warning
Commit: 69db8b9b3385317c8c2870e7c19fc1608efc29ea
https://github.com/scummvm/scummvm/commit/69db8b9b3385317c8c2870e7c19fc1608efc29ea
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2021-08-25T01:18:39+01:00
Commit Message:
DS: Fix compiler warning
Changed paths:
backends/platform/ds/ds-graphics.cpp
diff --git a/backends/platform/ds/ds-graphics.cpp b/backends/platform/ds/ds-graphics.cpp
index 1e432a5b01..6115822698 100644
--- a/backends/platform/ds/ds-graphics.cpp
+++ b/backends/platform/ds/ds-graphics.cpp
@@ -458,7 +458,7 @@ void OSystem_DS::setMouseCursor(const void *buf, uint w, uint h, int hotspotX, i
return;
Graphics::PixelFormat actualFormat = format ? *format : _pfCLUT8;
- if (_cursor.w != w || _cursor.h != h || _cursor.format != actualFormat)
+ if (_cursor.w != (int16)w || _cursor.h != (int16)h || _cursor.format != actualFormat)
_cursor.create(w, h, actualFormat);
_cursor.copyRectToSurface(buf, w * actualFormat.bytesPerPixel, 0, 0, w, h);
_cursorHotX = hotspotX;
More information about the Scummvm-git-logs
mailing list