aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2009-02-15 16:59:48 +0000
committerFilippos Karapetis2009-02-15 16:59:48 +0000
commitb27053c71e98e68aed4fc17219123d72538cbf6e (patch)
tree62ce213f54815833266143bfa26676f2bccb2fdf /engines/sci
parent79086b1b1f6bde6cf3ef7668a7b08fcb15f8e50a (diff)
downloadscummvm-rg350-b27053c71e98e68aed4fc17219123d72538cbf6e.tar.gz
scummvm-rg350-b27053c71e98e68aed4fc17219123d72538cbf6e.tar.bz2
scummvm-rg350-b27053c71e98e68aed4fc17219123d72538cbf6e.zip
Silenced some more warnings
svn-id: r38270
Diffstat (limited to 'engines/sci')
-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)