[Scummvm-cvs-logs] scummvm master -> 8a8ab23c03e2f69bf1107b009f5a9bee6035e81f

digitall dgturner at iee.org
Fri Nov 23 19:48:18 CET 2012


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:
8a8ab23c03 WII: Remove remaining signed-unsigned compiler warning.


Commit: 8a8ab23c03e2f69bf1107b009f5a9bee6035e81f
    https://github.com/scummvm/scummvm/commit/8a8ab23c03e2f69bf1107b009f5a9bee6035e81f
Author: D G Turner (digitall at scummvm.org)
Date: 2012-11-23T10:46:47-08:00

Commit Message:
WII: Remove remaining signed-unsigned compiler warning.

Changed paths:
    backends/platform/wii/osystem_gfx.cpp



diff --git a/backends/platform/wii/osystem_gfx.cpp b/backends/platform/wii/osystem_gfx.cpp
index fc0802d..a9bcdbb 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 {






More information about the Scummvm-git-logs mailing list