diff options
author | Johannes Schickel | 2015-01-04 21:30:05 +0100 |
---|---|---|
committer | Johannes Schickel | 2015-01-04 21:30:05 +0100 |
commit | e2e61184c6c75554702721434920d0e5772976cf (patch) | |
tree | 51052b253c271c551e2c97981b670ffc3e99d44f | |
parent | ba228f2bea145f6f8c6d575affc8efac4ed5e87f (diff) | |
download | scummvm-rg350-e2e61184c6c75554702721434920d0e5772976cf.tar.gz scummvm-rg350-e2e61184c6c75554702721434920d0e5772976cf.tar.bz2 scummvm-rg350-e2e61184c6c75554702721434920d0e5772976cf.zip |
COMMON: Fix return type of one READ_BE_UINT64 implementation.
This makes all unit tests pass for my on amd64 again. Thanks clone2727.
-rw-r--r-- | common/endian.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/endian.h b/common/endian.h index 21e0d9ee11..9a6c0cd42c 100644 --- a/common/endian.h +++ b/common/endian.h @@ -476,7 +476,7 @@ WRITE_UINT32(ptr, SWAP_BYTES_32(value)); } #ifdef HAVE_INT64 - inline uint32 READ_BE_UINT64(const void *ptr) { + inline uint64 READ_BE_UINT64(const void *ptr) { return SWAP_BYTES_64(READ_UINT64(ptr)); } inline void WRITE_BE_UINT64(void *ptr, uint64 value) { |