aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2015-01-04 21:17:33 +0100
committerJohannes Schickel2015-01-04 21:17:33 +0100
commit64bad2ec4a2bfe9d607883ca06df03279ba83943 (patch)
tree7f45c480337b0b28bcce12a0cdc638912cb20b62
parentdaa8fca001c0eddd5b0856d60aa7ecd59c7d6acc (diff)
downloadscummvm-rg350-64bad2ec4a2bfe9d607883ca06df03279ba83943.tar.gz
scummvm-rg350-64bad2ec4a2bfe9d607883ca06df03279ba83943.tar.bz2
scummvm-rg350-64bad2ec4a2bfe9d607883ca06df03279ba83943.zip
COMMON: Fix some syntax issues.
Not compile tested. Then again it didn't look test before either. So, yay!
-rw-r--r--common/endian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/endian.h b/common/endian.h
index 70cc8b434f..21e0d9ee11 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;