diff options
Diffstat (limited to 'helpers.c')
-rw-r--r-- | helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ uint32_t address_to_bits(uint32_t addr) { unsigned int lzb = 0; - while (((1 << (31 - lzb)) & ~addr) != 0) + while (((1u << (31 - lzb)) & ~addr) != 0) lzb++; return 32 - lzb; } |