From 792239073775bbef4767119b124bc7a8ead78e65 Mon Sep 17 00:00:00 2001 From: piro Date: Fri, 7 Dec 2007 23:05:50 +0000 Subject: [PATCH] Code cleanup. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1033 38d2e660-2303-0410-9eaa-f027e97ec537 --- mware/byteorder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } /** -- 2.25.1