From 8d17b6c48a91e7f12a707712c9e85d7c3bee9637 Mon Sep 17 00:00:00 2001 From: SupSuper Date: Thu, 9 May 2019 02:41:39 +0100 Subject: [PATCH] AUDIO: Fix MSVC warnings Fixes warning C4245: signed/unsigned mismatch (seems in line with other decoders) --- audio/decoders/adpcm_intern.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/decoders/adpcm_intern.h b/audio/decoders/adpcm_intern.h index 4b7b3481f42..889b0a81184 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