Massive copy&paste typo of mine in the 32-bit byte swapping function....
This commit is contained in:
parent
bb7f581b6d
commit
9593463367
|
@ -80,7 +80,7 @@
|
||||||
return __builtin_bswap16(u16);
|
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);
|
return __builtin_bswap32(u32);
|
||||||
}
|
}
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
return __builtin_bswap16(u16);
|
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);
|
return __builtin_bswap32(u32);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue