[Scummvm-cvs-logs] scummvm master -> 64bad2ec4a2bfe9d607883ca06df03279ba83943

lordhoto lordhoto at gmail.com
Sun Jan 4 21:18:56 CET 2015


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:
64bad2ec4a COMMON: Fix some syntax issues.


Commit: 64bad2ec4a2bfe9d607883ca06df03279ba83943
    https://github.com/scummvm/scummvm/commit/64bad2ec4a2bfe9d607883ca06df03279ba83943
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2015-01-04T21:17:33+01:00

Commit Message:
COMMON: Fix some syntax issues.

Not compile tested. Then again it didn't look test before either. So, yay!

Changed paths:
    common/endian.h



diff --git a/common/endian.h b/common/endian.h
index 70cc8b4..21e0d9e 100644
--- a/common/endian.h
+++ b/common/endian.h
@@ -446,7 +446,7 @@
 #ifdef HAVE_INT64
 		inline uint64 READ_BE_UINT64(const void *ptr) {
 			const uint8 *b = (const uint8 *)ptr;
-			return (b[0] << 56) | b[1] << 48) | b[2] << 40) | b[3] << 32) | b[4] << 24) | (b[5] << 16) | (b[6] << 8) | (b[7]);
+			return (b[0] << 56) | (b[1] << 48) | (b[2] << 40) | (b[3] << 32) | (b[4] << 24) | (b[5] << 16) | (b[6] << 8) | (b[7]);
 		}
 		inline void WRITE_BE_UINT64(void *ptr, uint64 value) {
 			uint8 *b = (uint8 *)ptr;






More information about the Scummvm-git-logs mailing list