summaryrefslogtreecommitdiff
path: root/include/endian.h
diff options
context:
space:
mode:
authorstefan <stefan@s00.xyz>2023-04-19 21:02:58 -0400
committerstefan <stefan@s00.xyz>2023-04-19 21:02:58 -0400
commit821706a3fea34c18a6171cf5169d5d6d852966de (patch)
treeeee908df401a7bab1ecf1cb60cab31a15c0e3c8b /include/endian.h
parent83e17e29456ec9b6d45f4d9f2634eb280c6f414f (diff)
downloadsv-821706a3fea34c18a6171cf5169d5d6d852966de.tar.gz
normalized tab expansion
Diffstat (limited to 'include/endian.h')
-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 */