From d9b4f02d79f1231cbb890537d1d3db5223bf8d29 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 1 Feb 2016 23:20:20 +0100 Subject: SHERLOCK: Silence GCC signed/unsigned warning --- engines/sherlock/fonts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/sherlock/fonts.cpp b/engines/sherlock/fonts.cpp index 431159ca81..8e36c3908a 100644 --- a/engines/sherlock/fonts.cpp +++ b/engines/sherlock/fonts.cpp @@ -130,7 +130,7 @@ void Fonts::setFont(int fontNum) { // Iterate through the frames to find the widest and tallest font characters _fontHeight = _widestChar = 0; - for (uint idx = 0; idx < MIN((int)_charCount, 128 - 32); ++idx) { + for (uint idx = 0; idx < MIN(_charCount, 128 - 32); ++idx) { _fontHeight = MAX((uint16)_fontHeight, (*_font)[idx]._frame.h); _widestChar = MAX((uint16)_widestChar, (*_font)[idx]._frame.w); } -- cgit v1.2.3