[Bf-blender-cvs] [7b1489b] master: Error in last commit

Campbell Barton noreply at git.blender.org
Sat Jul 11 21:40:48 CEST 2015


Commit: 7b1489b93bc6ff5b68ecee19132f1845a65983f0
Author: Campbell Barton
Date:   Sun Jul 12 05:35:44 2015 +1000
Branches: master
https://developer.blender.org/rB7b1489b93bc6ff5b68ecee19132f1845a65983f0

Error in last commit

===================================================================

M	source/blender/blenlib/BLI_endian_switch_inline.h

===================================================================

diff --git a/source/blender/blenlib/BLI_endian_switch_inline.h b/source/blender/blenlib/BLI_endian_switch_inline.h
index f5f0e59..9c4e819 100644
--- a/source/blender/blenlib/BLI_endian_switch_inline.h
+++ b/source/blender/blenlib/BLI_endian_switch_inline.h
@@ -83,7 +83,7 @@ BLI_INLINE void BLI_endian_switch_int64(int64_t *val)
 BLI_INLINE void BLI_endian_switch_uint64(uint64_t *val)
 {
 #ifdef __GNUC__
-	*val = __builtin_bswap16(*val);
+	*val = __builtin_bswap64(*val);
 #else
 	uint64_t tval = *val;
 	*val = ((tval >> 56)) |




More information about the Bf-blender-cvs mailing list