From 3f4ec15792dd49b14295717f495aa0c4e4457d54 Mon Sep 17 00:00:00 2001 From: Bertrand Augereau Date: Sun, 4 Dec 2011 19:25:54 +0100 Subject: DREAMWEB: Implicit conversion warnings fixed --- engines/dreamweb/people.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/dreamweb/people.cpp') diff --git a/engines/dreamweb/people.cpp b/engines/dreamweb/people.cpp index 4c7f9dd7a0..31229842a9 100644 --- a/engines/dreamweb/people.cpp +++ b/engines/dreamweb/people.cpp @@ -301,7 +301,7 @@ void DreamGenContext::rockstar(ReelRoutine &routine) { nextReelPointer = 79; } } else { - data.byte(kLastweapon) = -1; + data.byte(kLastweapon) = (uint8)-1; nextReelPointer = 123; } } @@ -368,7 +368,7 @@ void DreamGenContext::security(ReelRoutine &routine) { if (data.byte(kLastweapon) == 1) { data.word(kWatchingtime) = 10; if ((data.byte(kManspath) == 9) && (data.byte(kFacing) == 0)) { - data.byte(kLastweapon) = -1; + data.byte(kLastweapon) = (uint8)-1; routine.incReelPointer(); } } -- cgit v1.2.3