[Scummvm-cvs-logs] scummvm master -> e2e61184c6c75554702721434920d0e5772976cf

lordhoto lordhoto at gmail.com
Sun Jan 4 21:31:50 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:
e2e61184c6 COMMON: Fix return type of one READ_BE_UINT64 implementation.


Commit: e2e61184c6c75554702721434920d0e5772976cf
    https://github.com/scummvm/scummvm/commit/e2e61184c6c75554702721434920d0e5772976cf
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2015-01-04T21:30:05+01:00

Commit Message:
COMMON: Fix return type of one READ_BE_UINT64 implementation.

This makes all unit tests pass for my on amd64 again. Thanks clone2727.

Changed paths:
    common/endian.h



diff --git a/common/endian.h b/common/endian.h
index 21e0d9e..9a6c0cd 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) {






More information about the Scummvm-git-logs mailing list