Forgot endif.
[bertos.git] / 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);
 }
 
 /**