mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
Fix clang error: constexpr if condition evaluates to 2, which cannot be narrowed to type 'bool' [-Wc++11-narrowing]
This commit is contained in:
parent
7ebdb0bd97
commit
6d9835065e
@ -465,7 +465,7 @@ void vpp_state::i8243_port_w(u8 data)
|
||||
|
||||
m_screen->update_now();
|
||||
|
||||
if constexpr (P & 2)
|
||||
if constexpr ((P & 2) != 0)
|
||||
m_mix_i8244 = (m_mix_i8244 & ~mask) | (data & mask);
|
||||
else
|
||||
m_mix_ef934x = (m_mix_ef934x & ~mask) | (data & mask);
|
||||
|
Loading…
Reference in New Issue
Block a user