aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2012-01-29 16:32:44 +0100
committerJohannes Schickel2012-01-29 16:32:44 +0100
commit163d57ba9399664b080079abe6f4d8c0c98db89c (patch)
treea09a3557892a4afae32a851d035426fb71317160
parentdb98fdab2b73547bba4c4346393b3eaa204db9a5 (diff)
downloadscummvm-rg350-163d57ba9399664b080079abe6f4d8c0c98db89c.tar.gz
scummvm-rg350-163d57ba9399664b080079abe6f4d8c0c98db89c.tar.bz2
scummvm-rg350-163d57ba9399664b080079abe6f4d8c0c98db89c.zip
AUDIO: Return 0 instead of false in Tfmx::loadSampleFile.
This should "fix" a g++ warning.
-rw-r--r--audio/mods/tfmx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/mods/tfmx.cpp b/audio/mods/tfmx.cpp
index 8d584809c8..2957529afc 100644
--- a/audio/mods/tfmx.cpp
+++ b/audio/mods/tfmx.cpp
@@ -876,7 +876,7 @@ const int8 *Tfmx::loadSampleFile(uint32 &sampleLen, Common::SeekableReadStream &
const int32 sampleSize = sampleStream.size();
if (sampleSize < 4) {
warning("Tfmx: Cant load Samplefile");
- return false;
+ return 0;
}
int8 *sampleAlloc = new int8[sampleSize];