aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorD G Turner2012-11-23 18:46:47 +0000
committerD G Turner2012-11-23 18:46:47 +0000
commit8a8ab23c03e2f69bf1107b009f5a9bee6035e81f (patch)
tree2bf06dd018d8a3dd276936a789ccbb77e14519b4 /backends/platform
parent21a8166922fb7e2b04734199944bb059a322e3b2 (diff)
downloadscummvm-rg350-8a8ab23c03e2f69bf1107b009f5a9bee6035e81f.tar.gz
scummvm-rg350-8a8ab23c03e2f69bf1107b009f5a9bee6035e81f.tar.bz2
scummvm-rg350-8a8ab23c03e2f69bf1107b009f5a9bee6035e81f.zip
WII: Remove remaining signed-unsigned compiler warning.
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/wii/osystem_gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/wii/osystem_gfx.cpp b/backends/platform/wii/osystem_gfx.cpp
index fc0802dd4c..a9bcdbb8d1 100644
--- a/backends/platform/wii/osystem_gfx.cpp
+++ b/backends/platform/wii/osystem_gfx.cpp
@@ -609,7 +609,7 @@ void OSystem_Wii::copyRectToOverlay(const void *buf, int pitch, int x,
return;
uint16 *dst = _overlayPixels + (y * _overlayWidth + x);
- if (_overlayWidth == w && pitch == _overlayWidth * sizeof(uint16)) {
+ if (_overlayWidth == (uint16)w && (uint16)pitch == _overlayWidth * sizeof(uint16)) {
memcpy(dst, src, h * pitch);
} else {
do {