diff options
Diffstat (limited to 'common/endian.h')
-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) { |