projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39ea99e
)
Code cleanup.
author
piro
<piro@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 7 Dec 2007 23:05:50 +0000
(23:05 +0000)
committer
piro
<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
patch
|
blob
|
history
diff --git
a/mware/byteorder.h
b/mware/byteorder.h
index 907f10aee2f528fa01db1a18b308609ea5f94ada..0ed874bbf68910da09c38ee7565fa05d30cc58ea 100644
(file)
--- 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);
}
/**