aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2011-12-06 21:48:58 +0100
committerWillem Jan Palenstijn2011-12-06 21:48:58 +0100
commitadaea53c19503fb66d3b331cb16fb0d48c72b6eb (patch)
tree26d203b23a01b073cdba7b8590c9140ec96ae70d
parente4e059b85722cdd5938fb39f56276ff7863e00cc (diff)
downloadscummvm-rg350-adaea53c19503fb66d3b331cb16fb0d48c72b6eb.tar.gz
scummvm-rg350-adaea53c19503fb66d3b331cb16fb0d48c72b6eb.tar.bz2
scummvm-rg350-adaea53c19503fb66d3b331cb16fb0d48c72b6eb.zip
DREAMWEB: Fix warnings
-rw-r--r--engines/dreamweb/sprite.cpp2
-rw-r--r--engines/dreamweb/stubs.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/dreamweb/sprite.cpp b/engines/dreamweb/sprite.cpp
index 978c05dc4b..c2997cf51b 100644
--- a/engines/dreamweb/sprite.cpp
+++ b/engines/dreamweb/sprite.cpp
@@ -1157,7 +1157,7 @@ void DreamGenContext::soundOnReels() {
}
if (data.word(kReelpointer) != data.word(kLastsoundreel))
- data.word(kLastsoundreel) = -1;
+ data.word(kLastsoundreel) = (uint16)-1;
}
void DreamGenContext::clearBeforeLoad() {
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index a06e2fcae0..d6ee89e081 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -3322,7 +3322,7 @@ void DreamGenContext::intro() {
clearPalette();
loadIntroRoom();
data.byte(kVolume) = 7;
- data.byte(kVolumedirection) = -1;
+ data.byte(kVolumedirection) = (uint8)-1;
data.byte(kVolumeto) = 4;
playChannel0(12, 255);
fadeScreenUps();