diff options
| author | Max Horn | 2008-09-13 16:51:46 +0000 | 
|---|---|---|
| committer | Max Horn | 2008-09-13 16:51:46 +0000 | 
| commit | 655ce26b3f09628d9408a4d82efe3a26116999fe (patch) | |
| tree | 779a25dbe25c8f916fb385b3dd2d48e0e379d9ec /sound/wave.cpp | |
| parent | b86a047164b54c20366fcbe21b55bf63f2ced5f4 (diff) | |
| download | scummvm-rg350-655ce26b3f09628d9408a4d82efe3a26116999fe.tar.gz scummvm-rg350-655ce26b3f09628d9408a4d82efe3a26116999fe.tar.bz2 scummvm-rg350-655ce26b3f09628d9408a4d82efe3a26116999fe.zip | |
Big patch changing the signature of various Stream methods (some ports may need to be slightly tweaked to fix overloading errors/warnings)
svn-id: r34514
Diffstat (limited to 'sound/wave.cpp')
| -rw-r--r-- | sound/wave.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/sound/wave.cpp b/sound/wave.cpp index 249518aafc..72a3992401 100644 --- a/sound/wave.cpp +++ b/sound/wave.cpp @@ -34,7 +34,7 @@  namespace Audio {  bool loadWAVFromStream(Common::SeekableReadStream &stream, int &size, int &rate, byte &flags, uint16 *wavType, int *blockAlign_) { -	const uint32 initialPos = stream.pos(); +	const int32 initialPos = stream.pos();  	byte buf[4+1];  	buf[4] = 0; @@ -45,7 +45,7 @@ bool loadWAVFromStream(Common::SeekableReadStream &stream, int &size, int &rate,  		return false;  	} -	uint32 wavLength = stream.readUint32LE(); +	int32 wavLength = stream.readUint32LE();  	stream.read(buf, 4);  	if (memcmp(buf, "WAVE", 4) != 0) { | 
