diff options
author | Paweł Kołodziejski | 2003-12-27 18:29:21 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-12-27 18:29:21 +0000 |
commit | 25a7b9ef3330fe04894eb954e297c85be9e102c8 (patch) | |
tree | 7f689182671903c5601870952d1b172866502892 /sound/voc.cpp | |
parent | f6ff11509ccc3494e5160865b8f7fe38c6a75581 (diff) | |
download | scummvm-rg350-25a7b9ef3330fe04894eb954e297c85be9e102c8.tar.gz scummvm-rg350-25a7b9ef3330fe04894eb954e297c85be9e102c8.tar.bz2 scummvm-rg350-25a7b9ef3330fe04894eb954e297c85be9e102c8.zip |
fixed compilation
svn-id: r11976
Diffstat (limited to 'sound/voc.cpp')
-rw-r--r-- | sound/voc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/voc.cpp b/sound/voc.cpp index b5ace31c02..25c15a9a2e 100644 --- a/sound/voc.cpp +++ b/sound/voc.cpp @@ -26,7 +26,7 @@ #include "sound/voc.h" -byte *readVOCFromMemory(byte *ptr, int32 &size, int &rate, int32 &loops) { +byte *readVOCFromMemory(byte *ptr, int &size, int &rate, int &loops) { assert(strncmp((char *)ptr, "Creative Voice File\x1A", 20) == 0); int32 offset = READ_LE_UINT16(ptr + 20); @@ -92,7 +92,7 @@ enum { // readCreativeVoc(). Obviously this is bad, it should rather use that function // (after some tweaks to readCreativeVoc, to deal with the alternate VTLK // header). -byte *loadVOCFile(File *file, int32 &size, int &rate) { +byte *loadVOCFile(File *file, int &size, int &rate) { char ident[8]; if (file->read(ident, 8) != 8) |