From: piro Date: Fri, 7 Dec 2007 23:05:50 +0000 (+0000) Subject: Code cleanup. X-Git-Tag: 1.0.0~209 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=792239073775bbef4767119b124bc7a8ead78e65;p=bertos.git Code cleanup. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1033 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/mware/byteorder.h b/mware/byteorder.h index 907f10ae..0ed874bb 100644 --- a/mware/byteorder.h +++ b/mware/byteorder.h @@ -69,8 +69,8 @@ INLINE uint32_t swab32(uint32_t x) */ INLINE uint64_t swab64(uint64_t x) { - return ( (uint64_t)swab32((x >> 32)) - | (uint64_t)swab32(x & (uint32_t)0xFFFFFFFFUL) << 32); + return (uint64_t)swab32(x >> 32) + | ((uint64_t)swab32(x & 0xFFFFFFFFUL) << 32); } /**