Code cleanup.
authorpiro <piro@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 7 Dec 2007 23:05:50 +0000 (23:05 +0000)
committerpiro <piro@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 7 Dec 2007 23:05:50 +0000 (23:05 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1033 38d2e660-2303-0410-9eaa-f027e97ec537

mware/byteorder.h

index 907f10aee2f528fa01db1a18b308609ea5f94ada..0ed874bbf68910da09c38ee7565fa05d30cc58ea 100644 (file)
@@ -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);
 }
 
 /**