aboutsummaryrefslogtreecommitdiff
path: root/audio/mods/tfmx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mods/tfmx.cpp')
-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];