[Scummvm-git-logs] scummvm master -> cb49e33a62b5395a7c8cd6073e99a2531ae44448

bluegr bluegr at gmail.com
Sun Jun 9 14:08:40 CEST 2019


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:
cb49e33a62 XEEN: fix result type for readUint32LE()


Commit: cb49e33a62b5395a7c8cd6073e99a2531ae44448
    https://github.com/scummvm/scummvm/commit/cb49e33a62b5395a7c8cd6073e99a2531ae44448
Author: Peter Helbing (peter at abulafia.org)
Date: 2019-06-09T15:08:37+03:00

Commit Message:
XEEN: fix result type for readUint32LE()

Changed paths:
    engines/xeen/scripts.cpp


diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp
index bc0b179..c85362b 100644
--- a/engines/xeen/scripts.cpp
+++ b/engines/xeen/scripts.cpp
@@ -48,7 +48,7 @@ uint16 EventParameters::Iterator::readUint16LE() {
 }
 
 uint32 EventParameters::Iterator::readUint32LE() {
-	uint16 result = ((_index + 3) >= _data.size()) ? 0 :
+	uint32 result = ((_index + 3) >= _data.size()) ? 0 :
 		READ_LE_UINT32(&_data[_index]);
 	_index += 4;
 	return result;





More information about the Scummvm-git-logs mailing list