aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Augereau2011-12-04 19:25:54 +0100
committerBertrand Augereau2011-12-04 19:25:54 +0100
commit3f4ec15792dd49b14295717f495aa0c4e4457d54 (patch)
tree87ba8a307bed5cd0ded6209ffe62638f0770a4d9
parent66ee7fba707fccf4ba3ae2b577a1dae226757744 (diff)
downloadscummvm-rg350-3f4ec15792dd49b14295717f495aa0c4e4457d54.tar.gz
scummvm-rg350-3f4ec15792dd49b14295717f495aa0c4e4457d54.tar.bz2
scummvm-rg350-3f4ec15792dd49b14295717f495aa0c4e4457d54.zip
DREAMWEB: Implicit conversion warnings fixed
-rw-r--r--engines/dreamweb/people.cpp4
1 files changed, 2 insertions, 2 deletions
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();
}
}