diff options
author | Ian Moffett <ian@osmora.org> | 2025-06-22 19:32:36 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-06-22 19:32:36 -0400 |
commit | ee365c6d442dbcffd05a64e6a8132f2ecbda79f6 (patch) | |
tree | 45bd0f83b90c5ec85b5bdd7a9eec3667e71e1f89 /sys/include | |
parent | 49680c44f6f5b4935ea7619301f5b8ad48ecc515 (diff) |
kernel: Fix base-16 style in endian.h
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/sys/endian.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/include/sys/endian.h b/sys/include/sys/endian.h index baf4f8a..5cbc94a 100644 --- a/sys/include/sys/endian.h +++ b/sys/include/sys/endian.h @@ -39,7 +39,7 @@ __always_inline static inline uint16_t __swap16(uint16_t x) { - return ((x << 8) & 0XFF00) | ((x >> 8) & 0X00FF); + return ((x << 8) & 0xFF00) | ((x >> 8) & 0x00FF); } __always_inline static inline uint32_t @@ -48,7 +48,7 @@ __swap32(uint32_t x) return ((x << 24) & 0xFF000000) | ((x << 8) & 0x00FF0000) | ((x >> 8) & 0x0000FF00) | - ((x >> 24) & 0X000000FF); + ((x >> 24) & 0x000000FF); } #endif /* !_SYS_ENDIAN_H_ */ |