From b1a95b502d573ca89ad4097a2a744793dbafc33c Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 13 May 2007 11:07:00 +0000 Subject: [PATCH] Fix reported compiler warning. svn-id: r26828 --- engines/agos/res_ami.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/agos/res_ami.cpp b/engines/agos/res_ami.cpp index 068c2ac149c..713e1e17221 100644 --- a/engines/agos/res_ami.cpp +++ b/engines/agos/res_ami.cpp @@ -36,7 +36,7 @@ enum { static void uncompressPlane(const byte *plane, byte *outptr, int length) { while (length != 0) { int wordlen; - char x = *plane++; + signed char x = *plane++; if (x >= 0) { wordlen = MIN(x + 1, length); uint16 w = READ_UINT16(plane); plane += 2;