From 6dd6ea5fc7d34e207dbcaaec1cb9463635fa8a6a Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 27 Jul 2007 00:25:06 +0000 Subject: Fixed some MSVC8 warnings svn-id: r28225 --- engines/drascula/drascula.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp index e800e0ef02..ff3b49f46d 100644 --- a/engines/drascula/drascula.cpp +++ b/engines/drascula/drascula.cpp @@ -3767,7 +3767,8 @@ void DrasculaEngine::Des_OFF(char *BufferOFF, char *MiVideoOFF, int Lenght) { } void DrasculaEngine::Des_RLE(char *BufferRLE, char *MiVideoRLE) { - unsigned int con, X = 0; + signed int con = 0; + unsigned int X = 0; unsigned int fExit = 0; char ch, rep; while (!fExit) { @@ -3811,7 +3812,8 @@ int DrasculaEngine::chkkey() { } char *DrasculaEngine::carga_pcx(char *NamePcc) { - unsigned int con, X = 0; + signed int con = 0; + unsigned int X = 0; unsigned int fExit = 0; char ch, rep; char *AuxPun; -- cgit v1.2.3