Skip to content

Commit

Permalink
core-bitops.h: Fix build issue with stress_bitreverse32
Browse files Browse the repository at this point in the history
Signed-off-by: Colin Ian King <[email protected]>
  • Loading branch information
ColinIanKing committed Jul 28, 2023
1 parent 685f500 commit 4156d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core-bitops.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ static inline uint32_t OPTIMIZE3 stress_swap32(uint32_t val)
static inline uint32_t OPTIMIZE3 stress_bitreverse32(const uint32_t val)
{
#if defined(HAVE_BUILTIN_BITREVERSE)
return __builtin_bitreverse32(i);
return __builtin_bitreverse32(val);
#else
register uint32_t r, v, s = (sizeof(val) * 8) - 1;

Expand Down

0 comments on commit 4156d5d

Please sign in to comment.