[Scummvm-git-logs] scummvm master -> 46260fdf4189d9d644739a64aabc8f93fa108d6f

Strangerke Strangerke at scummvm.org
Wed Feb 8 15:49:47 CET 2017


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:
46260fdf41 CRYO: Fix a GCC warning


Commit: 46260fdf4189d9d644739a64aabc8f93fa108d6f
    https://github.com/scummvm/scummvm/commit/46260fdf4189d9d644739a64aabc8f93fa108d6f
Author: Strangerke (strangerke at scummvm.org)
Date: 2017-02-08T15:47:25+01:00

Commit Message:
CRYO: Fix a GCC warning

Changed paths:
    engines/cryo/video.cpp


diff --git a/engines/cryo/video.cpp b/engines/cryo/video.cpp
index 88326e6..fe24242 100644
--- a/engines/cryo/video.cpp
+++ b/engines/cryo/video.cpp
@@ -264,7 +264,8 @@ void HnmPlayer::decompLempelZiv(byte *buffer, byte *output) {
 				if (!l)
 					break;
 			} else {
-				l = GetBit() * 2 + GetBit();
+				l = GetBit() * 2;
+				l += GetBit();
 				o = *(inp++) - 256;
 			}
 			l += 2;





More information about the Scummvm-git-logs mailing list