mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 06:40:42 -07:00
Fix msvc compiler warnings (#374)
To be noticed I edited thirdparty header for fmt library (#373), idk if it is acceptable
This commit is contained in:
@@ -162,7 +162,7 @@ static void __cdecl cardunit_update() {
|
||||
bool kb_insert_press = false;
|
||||
|
||||
// eamio keypress
|
||||
kb_insert_press |= eamuse_get_keypad_state(unit) & (1 << EAM_IO_INSERT);
|
||||
kb_insert_press |= static_cast<bool>(eamuse_get_keypad_state(unit) & (1 << EAM_IO_INSERT));
|
||||
|
||||
// update card inserts
|
||||
if (eamuse_card_insert_consume((int) EXTDEV_CARDUNIT_COUNT, unit) ||
|
||||
|
||||
Reference in New Issue
Block a user