From 832e8219193032e1333687bd3c2aa425d02c1f21 Mon Sep 17 00:00:00 2001 From: ehofman Date: Thu, 22 Sep 2005 09:15:10 +0000 Subject: [PATCH] Add some linefeeds. --- simgear/misc/stdint.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/simgear/misc/stdint.hxx b/simgear/misc/stdint.hxx index 22dbcdc2..aba705d1 100644 --- a/simgear/misc/stdint.hxx +++ b/simgear/misc/stdint.hxx @@ -77,7 +77,9 @@ inline uint32_t sg_bswap_32(uint32_t b) { inline uint64_t sg_bswap_64(uint64_t b) { uint64_t x = b; - x = ((x >> 8) & 0x00FF00FF00FF00FFLL) | ((x << 8) & 0xFF00FF00FF00FF00LL); x = ((x >> 16) & 0x0000FFFF0000FFFFLL) | ((x << 16) & 0xFFFF0000FFFF0000LL); x = (x >> 32) | (x << 32); + x = ((x >> 8) & 0x00FF00FF00FF00FFLL) | ((x << 8) & 0xFF00FF00FF00FF00LL); + x = ((x >> 16) & 0x0000FFFF0000FFFFLL) | ((x << 16) & 0xFFFF0000FFFF0000LL); + x = (x >> 32) | (x << 32); return x; } -- 2.39.5