summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/endian.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/endian.h b/include/endian.h
index 79b4c93..9b2e6dc 100644
--- a/include/endian.h
+++ b/include/endian.h
@@ -10,8 +10,8 @@
static inline uint32_t
__bswap32(uint32_t x)
{
- uint8_t *p = (uint8_t*)&x;
- return ((p[0] << 030) | (p[1] << 020) | (p[2] << 010) | p[3]);
+ uint8_t *p = (uint8_t*)&x;
+ return ((p[0] << 030) | (p[1] << 020) | (p[2] << 010) | p[3]);
}
#endif /* _ENDIAN_H */