[Scummvm-git-logs] scummvm master -> 35c1e2f237efe8a8bf16d818e7cb023179a09469

lephilousophe lephilousophe at users.noreply.github.com
Sat Feb 13 21:01:46 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
35c1e2f237 AGS: Fix int/int32 discrepancies


Commit: 35c1e2f237efe8a8bf16d818e7cb023179a09469
    https://github.com/scummvm/scummvm/commit/35c1e2f237efe8a8bf16d818e7cb023179a09469
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2021-02-13T22:01:19+01:00

Commit Message:
AGS: Fix int/int32 discrepancies

Changed paths:
    engines/ags/shared/util/stream.h


diff --git a/engines/ags/shared/util/stream.h b/engines/ags/shared/util/stream.h
index 8a18be56b6..78d8e3916a 100644
--- a/engines/ags/shared/util/stream.h
+++ b/engines/ags/shared/util/stream.h
@@ -118,15 +118,15 @@ public:
 		return _stream->Read(dataPtr, dataSize);
 	}
 
-	int pos() const override {
+	int32 pos() const override {
 		return _stream->GetPosition();
 	}
 
-	int size() const override {
+	int32 size() const override {
 		return _stream->GetLength();
 	}
 
-	bool seek(int offset, int whence = SEEK_SET) override {
+	bool seek(int32 offset, int whence = SEEK_SET) override {
 		StreamSeek origin = kSeekBegin;
 		if (whence == SEEK_CUR)
 			origin = kSeekCurrent;




More information about the Scummvm-git-logs mailing list