diff options
Diffstat (limited to 'src/devices/bus/generic/slot.h')
-rw-r--r-- | src/devices/bus/generic/slot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/generic/slot.h b/src/devices/bus/generic/slot.h index 883e521c908..ee96382f435 100644 --- a/src/devices/bus/generic/slot.h +++ b/src/devices/bus/generic/slot.h @@ -30,7 +30,7 @@ public: assert(!(decode_limit & base)); for (offs_t remain = length, start = 0U; remain && (decode_limit >= start); ) { - unsigned const msb(31 - count_leading_zeros(u32(remain))); + unsigned const msb(31 - count_leading_zeros_32(u32(remain))); offs_t const chunk(offs_t(1) << msb); offs_t range((chunk - 1) & decode_limit); offs_t mirror(decode_limit & ~decode_mask & ~range); |