Fixed bug in upper_u64() function.
This commit is contained in:
parent
2e74accf36
commit
11951fc33b
@ -89,7 +89,7 @@ static FORCE_INLINE uint32_t lower_u64(const uint64_t value)
|
|||||||
|
|
||||||
static FORCE_INLINE uint32_t upper_u64(const uint64_t value)
|
static FORCE_INLINE uint32_t upper_u64(const uint64_t value)
|
||||||
{
|
{
|
||||||
return (uint32_t)((value > 32U) & 0xFFFFFFFF);
|
return (uint32_t)((value >> 32U) & 0xFFFFFFFF);
|
||||||
}
|
}
|
||||||
|
|
||||||
static FORCE_INLINE uint8_t byte_u16(const uint16_t value, const size_t off)
|
static FORCE_INLINE uint8_t byte_u16(const uint16_t value, const size_t off)
|
||||||
|
Loading…
Reference in New Issue
Block a user