diff options
Diffstat (limited to 'src/mame/drivers/hp9845.cpp')
-rw-r--r-- | src/mame/drivers/hp9845.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/hp9845.cpp b/src/mame/drivers/hp9845.cpp index 7976c54cbc9..ab4398b20e7 100644 --- a/src/mame/drivers/hp9845.cpp +++ b/src/mame/drivers/hp9845.cpp @@ -550,7 +550,7 @@ attotime hp9845_base_state::time_to_gv_mem_availability() const void hp9845_base_state::kb_scan_ioport(ioport_value pressed , ioport_port &port , unsigned idx_base , int& max_seq_len , unsigned& max_seq_idx) { while (pressed) { - unsigned bit_no = 31 - count_leading_zeros(pressed); + unsigned bit_no = 31 - count_leading_zeros_32(pressed); ioport_value mask = BIT_MASK(bit_no); int seq_len = port.field(mask)->seq().length(); if (seq_len > max_seq_len) { |