diff options
author | stefan <stefan@s00.xyz> | 2023-04-19 21:02:58 -0400 |
---|---|---|
committer | stefan <stefan@s00.xyz> | 2023-04-19 21:02:58 -0400 |
commit | 821706a3fea34c18a6171cf5169d5d6d852966de (patch) | |
tree | eee908df401a7bab1ecf1cb60cab31a15c0e3c8b /include/endian.h | |
parent | 83e17e29456ec9b6d45f4d9f2634eb280c6f414f (diff) | |
download | sv-821706a3fea34c18a6171cf5169d5d6d852966de.tar.gz |
normalized tab expansion
Diffstat (limited to 'include/endian.h')
-rw-r--r-- | include/endian.h | 4 |
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 */ |