Massive copy&paste typo of mine in the 32-bit byte swapping function....

This commit is contained in:
Nathan Conrad 2019-09-15 15:20:01 -04:00
parent bb7f581b6d
commit 9593463367
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@
return __builtin_bswap16(u16);
}
static inline uint16_t tu_bswap32(uint16_t u32)
static inline uint32_t tu_bswap32(uint32_t u32)
{
return __builtin_bswap32(u32);
}
@ -108,7 +108,7 @@
return __builtin_bswap16(u16);
}
static inline uint16_t tu_bswap32(uint16_t u32)
static inline uint32_t tu_bswap32(uint32_t u32)
{
return __builtin_bswap32(u32);
}