From 74fe5b8ff28101faa0c2e2756495fe01ca504f68 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 6 Dec 2015 13:03:48 +0000 Subject: using unsigned char for raw data git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5820 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/wavpack/decoder_wavpack.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/Input/wavpack/decoder_wavpack.h') diff --git a/src/plugins/Input/wavpack/decoder_wavpack.h b/src/plugins/Input/wavpack/decoder_wavpack.h index 1eddee0db..981f1dff4 100644 --- a/src/plugins/Input/wavpack/decoder_wavpack.h +++ b/src/plugins/Input/wavpack/decoder_wavpack.h @@ -38,7 +38,7 @@ public: bool initialize(); qint64 totalTime(); int bitrate(); - qint64 read(char *data, qint64 maxSize); + qint64 read(unsigned char *data, qint64 maxSize); void seek(qint64 time); const QString nextURL() const; void next(); @@ -46,7 +46,7 @@ public: private: // helper functions void deinit(); - qint64 wavpack_decode(char *data, qint64 size); + qint64 wavpack_decode(unsigned char *data, qint64 size); ChannelMap findChannelMap(int channels); WavpackContext *m_context; int32_t *m_output_buf; // output buffer -- cgit v1.2.3-13-gbd6f