From: ehofman Date: Thu, 22 Sep 2005 09:15:10 +0000 (+0000) Subject: Add some linefeeds. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=832e8219193032e1333687bd3c2aa425d02c1f21;p=simgear.git Add some linefeeds. --- 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; }