diff options
author | Willem Jan Palenstijn | 2011-12-06 21:48:58 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-12-06 21:48:58 +0100 |
commit | adaea53c19503fb66d3b331cb16fb0d48c72b6eb (patch) | |
tree | 26d203b23a01b073cdba7b8590c9140ec96ae70d | |
parent | e4e059b85722cdd5938fb39f56276ff7863e00cc (diff) | |
download | scummvm-rg350-adaea53c19503fb66d3b331cb16fb0d48c72b6eb.tar.gz scummvm-rg350-adaea53c19503fb66d3b331cb16fb0d48c72b6eb.tar.bz2 scummvm-rg350-adaea53c19503fb66d3b331cb16fb0d48c72b6eb.zip |
DREAMWEB: Fix warnings
-rw-r--r-- | engines/dreamweb/sprite.cpp | 2 | ||||
-rw-r--r-- | engines/dreamweb/stubs.cpp | 2 |
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(); |