From 2f4fc293e79025150a621c41a268f86da031957d Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 20 Feb 2009 16:34:21 +0000 Subject: Used parentheses to indicate operator precedence (I hope I got them right) svn-id: r38602 --- engines/sci/scicore/decompress1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/sci/scicore/decompress1.cpp b/engines/sci/scicore/decompress1.cpp index e231c24f9d..7269e29479 100644 --- a/engines/sci/scicore/decompress1.cpp +++ b/engines/sci/scicore/decompress1.cpp @@ -184,7 +184,7 @@ decrypt4_hdyn(byte *dest, int length, struct bit_read_struct *reader) { else { int length_bonus; - val_length = 1<<(value - 7) + 8; + val_length = (1 << (value - 7)) + 8; CALLC(length_bonus = getbits(reader, value - 7)); val_length += length_bonus; } -- cgit v1.2.3