aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/scicore/versions.cpp2
-rw-r--r--engines/sci/sfx/mixer/soft.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/scicore/versions.cpp b/engines/sci/scicore/versions.cpp
index b5b108a966..a0fb0267b9 100644
--- a/engines/sci/scicore/versions.cpp
+++ b/engines/sci/scicore/versions.cpp
@@ -179,7 +179,7 @@ is_exe(char *filename)
{
FILE *file;
char buf[4];
- char header[] = {0x00, 0x00, 0x03, 0xf3};
+ unsigned char header[] = {0x00, 0x00, 0x03, 0xf3};
/* PC and Atari ST executable extensions */
if (strstr(filename, ".exe") || strstr(filename, ".EXE")
diff --git a/engines/sci/sfx/mixer/soft.cpp b/engines/sci/sfx/mixer/soft.cpp
index 4d2d86947c..5617defbbc 100644
--- a/engines/sci/sfx/mixer/soft.cpp
+++ b/engines/sci/sfx/mixer/soft.cpp
@@ -830,6 +830,7 @@ ACQUIRE_LOCK();
int have_timestamp = 0;
sfx_timestamp_t start_timestamp; /* The timestamp at which the first frame will be played */
sfx_timestamp_t min_timestamp;
+ min_timestamp.secs = 0;
sfx_timestamp_t timestamp;
if (self->dev->get_output_timestamp)