aboutsummaryrefslogtreecommitdiff
path: root/sound.cpp
diff options
context:
space:
mode:
authorLionel Ulmer2002-04-19 16:56:58 +0000
committerLionel Ulmer2002-04-19 16:56:58 +0000
commit3cf038930fa4e9366656d50426467433a56acc50 (patch)
treebe5853c1625dbc68ff6c381a3838428909bb1d9c /sound.cpp
parent7f4f0fcb69736c1814fe423dca06ddafc829edad (diff)
downloadscummvm-rg350-3cf038930fa4e9366656d50426467433a56acc50.tar.gz
scummvm-rg350-3cf038930fa4e9366656d50426467433a56acc50.tar.bz2
scummvm-rg350-3cf038930fa4e9366656d50426467433a56acc50.zip
Small warning fix.
svn-id: r4014
Diffstat (limited to 'sound.cpp')
-rw-r--r--sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound.cpp b/sound.cpp
index d43202d528..82592be4e5 100644
--- a/sound.cpp
+++ b/sound.cpp
@@ -630,7 +630,7 @@ int Scumm::getCachedTrack(int track) {
while (1) {
if (buflen < sizeof(buffer)) {
- uint16 bytes;
+ int bytes;
bytes = fread(buffer + buflen, 1, sizeof(buffer) - buflen, file);
if (bytes <= 0) {
@@ -714,4 +714,4 @@ void Scumm::playMP3CDTrack(int track, int num_loops, int start, int delay) {
}
-#endif \ No newline at end of file
+#endif