aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2014-08-11 15:03:24 +0200
committeruruk2014-08-11 15:03:24 +0200
commit411e8ac5c8609631ba5e2a78d3603c32fc974e18 (patch)
tree49186733f409a1312a8775bb27c5457b565f960c
parent1224d79e533325435c2d655b650bc7faf0c08b4f (diff)
downloadscummvm-rg350-411e8ac5c8609631ba5e2a78d3603c32fc974e18.tar.gz
scummvm-rg350-411e8ac5c8609631ba5e2a78d3603c32fc974e18.tar.bz2
scummvm-rg350-411e8ac5c8609631ba5e2a78d3603c32fc974e18.zip
CGE2: Change return type of readSint16LE().
-rw-r--r--engines/cge2/fileio.cpp2
-rw-r--r--engines/cge2/fileio.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/cge2/fileio.cpp b/engines/cge2/fileio.cpp
index 73b6cdab54..52a00ac129 100644
--- a/engines/cge2/fileio.cpp
+++ b/engines/cge2/fileio.cpp
@@ -222,7 +222,7 @@ uint32 EncryptedStream::read(byte *dataPtr, uint32 dataSize) {
return _readStream->read(dataPtr, dataSize);
}
-signed EncryptedStream::readSint16LE() {
+int16 EncryptedStream::readSint16LE() {
return _readStream->readSint16LE();
}
diff --git a/engines/cge2/fileio.h b/engines/cge2/fileio.h
index 0f3755beb5..67b3754e85 100644
--- a/engines/cge2/fileio.h
+++ b/engines/cge2/fileio.h
@@ -120,7 +120,7 @@ public:
int32 pos();
int32 size();
uint32 read(byte *dataPtr, uint32 dataSize);
- signed readSint16LE();
+ int16 readSint16LE();
uint32 readUint32LE();
Common::String readLine();
int getLineCount() { return _lineCount; }