From 339874f6c0934e16ac78c9b79a94b765668409af Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 9 Jun 2008 17:50:52 +0000 Subject: Fixed warnings. (Mainly, GCC 4.3 doesn't want you to use "char" as an array index. Probably because it's undefined whether or not it's signed.) svn-id: r32637 --- engines/parallaction/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/parallaction') diff --git a/engines/parallaction/font.cpp b/engines/parallaction/font.cpp index bc67acf644..91848b30a4 100644 --- a/engines/parallaction/font.cpp +++ b/engines/parallaction/font.cpp @@ -96,7 +96,7 @@ public: return (uint16)_height; } - uint16 drawChar(char c) { + uint16 drawChar(unsigned char c) { assert(c < _numGlyphs); byte *src = _data + _offsets[c]; -- cgit v1.2.3