Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-07-11 22:35:44 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-07-11 22:35:44 +0300
commit7b1489b93bc6ff5b68ecee19132f1845a65983f0 (patch)
tree4c3c551376f38bedef27feb78a3807f5fff595a6 /source/blender/blenlib/BLI_endian_switch_inline.h
parent968351d916312284f79952e350ca3c1ffad6f6d1 (diff)
Error in last commit
Diffstat (limited to 'source/blender/blenlib/BLI_endian_switch_inline.h')
-rw-r--r--source/blender/blenlib/BLI_endian_switch_inline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_endian_switch_inline.h b/source/blender/blenlib/BLI_endian_switch_inline.h
index f5f0e59cfa8..9c4e819399a 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)) |