diff options
author | Bertrand Augereau | 2003-08-13 22:01:34 +0000 |
---|---|---|
committer | Bertrand Augereau | 2003-08-13 22:01:34 +0000 |
commit | 0d54ac09c17bbd579f12c3f24b6136ebcf5e843a (patch) | |
tree | 6fc26fd47156b2108a56f7240e1047c0dc4d2a71 | |
parent | da249f0ffacce5c1d7254e536ef5ee13fe399271 (diff) | |
download | scummvm-rg350-0d54ac09c17bbd579f12c3f24b6136ebcf5e843a.tar.gz scummvm-rg350-0d54ac09c17bbd579f12c3f24b6136ebcf5e843a.tar.bz2 scummvm-rg350-0d54ac09c17bbd579f12c3f24b6136ebcf5e843a.zip |
ZeroInputStream::readBuffer didn't have the same signature as the base class version, making VC.NET 2K3 complain
svn-id: r9668
-rw-r--r-- | sound/audiostream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/audiostream.h b/sound/audiostream.h index e75c105f64..177848181c 100644 --- a/sound/audiostream.h +++ b/sound/audiostream.h @@ -90,7 +90,7 @@ protected: int _len; public: ZeroInputStream(uint len) : _len(len) { } - int readBuffer(int16 *buffer, int numSamples) { + int readBuffer(int16 *buffer, const int numSamples) { int samples = MIN(_len, numSamples); memset(buffer, 0, samples * 2); _len -= samples; |