aboutsummaryrefslogtreecommitdiff
path: root/sdl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sdl.cpp')
-rw-r--r--sdl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdl.cpp b/sdl.cpp
index ea86127d0e..8545ff522b 100644
--- a/sdl.cpp
+++ b/sdl.cpp
@@ -465,7 +465,7 @@ void fill_sound(void *userdata, Uint8 *stream, int len) {
void cd_playtrack(int track, int offset, int delay) {
SDL_CDStatus(cdrom);
- SDL_CDPlayTracks(cdrom, track, (offset * 7.5) - 22650, 0, delay * 7.5);
+ SDL_CDPlayTracks(cdrom, track, (int)((offset * 7.5) - 22650), 0, (int)(delay * 7.5));
}
int music_thread(Scumm *s) {
@@ -548,7 +548,7 @@ void initGraphics(Scumm *s, bool fullScreen) {
#endif
int main(int argc, char* argv[]) {
- int delta,tmp;
+ int delta;
int last_time, new_time;
sound.initialize(&scumm, &snd_driv);