aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSupSuper2019-05-09 02:41:39 +0100
committerPaul Gilbert2019-05-09 18:13:10 +1000
commit8d17b6c48a91e7f12a707712c9e85d7c3bee9637 (patch)
treef93a478b5d4eabfd6e1cd69b27eec1752d66db4c
parent369ba0c4b7f1278c415f7c7655cfa6cc5ae2b5fb (diff)
downloadscummvm-rg350-8d17b6c48a91e7f12a707712c9e85d7c3bee9637.tar.gz
scummvm-rg350-8d17b6c48a91e7f12a707712c9e85d7c3bee9637.tar.bz2
scummvm-rg350-8d17b6c48a91e7f12a707712c9e85d7c3bee9637.zip
AUDIO: Fix MSVC warnings
Fixes warning C4245: signed/unsigned mismatch (seems in line with other decoders)
-rw-r--r--audio/decoders/adpcm_intern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/decoders/adpcm_intern.h b/audio/decoders/adpcm_intern.h
index 4b7b3481f4..889b0a8118 100644
--- a/audio/decoders/adpcm_intern.h
+++ b/audio/decoders/adpcm_intern.h
@@ -68,7 +68,7 @@ public:
virtual bool rewind();
virtual bool seek(const Timestamp &where) { return false; }
- virtual Timestamp getLength() const { return -1; }
+ virtual Timestamp getLength() const { return Timestamp(); }
/**
* This table is used by some ADPCM variants (IMA and OKI) to adjust the