diff options
| -rw-r--r-- | backends/platform/wii/osystem_gfx.cpp | 2 | 
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 { | 
