looks like I64 size qualifier is only needed for MSYS64 GCC 9 and earlier (nw)

This commit is contained in:
Vas Crabb 2020-06-02 19:18:20 +10:00
parent 61f1cb34ef
commit 5d4b8530d1
4 changed files with 8 additions and 8 deletions

View File

@ -513,7 +513,7 @@ void hp3478a_state::lcd_interface(uint8_t p2new)
//changing to SELECTED_ISA
m_lcdstate = lcd_state::SYNC_SKIP;
if (m_lcd_bitcount) {
LOGMASKED(DEBUG_LCD, "LCD : IWA->ISA, %d stray bits (0x%I64X)\n", m_lcd_bitcount, m_lcd_bitbuf);
LOGMASKED(DEBUG_LCD, "LCD : IWA->ISA, %d stray bits (0x%X)\n", m_lcd_bitcount, m_lcd_bitbuf);
} else {
LOGMASKED(DEBUG_LCD, "LCD : IWA->ISA\n");
}
@ -529,7 +529,7 @@ void hp3478a_state::lcd_interface(uint8_t p2new)
if (m_lcd_bitcount != m_lcd_want) {
break;
}
LOGMASKED(DEBUG_LCD, "LCD : data 0x%I64X\n", m_lcd_bitbuf);
LOGMASKED(DEBUG_LCD, "LCD : data 0x%X\n", m_lcd_bitbuf);
switch (m_lcdiwa) {
case lcd_iwatype::ANNUNS:
LOGMASKED(DEBUG_LCD2, "LCD : write annuns 0x%02X\n", m_lcd_bitbuf & 0xFF);
@ -537,12 +537,12 @@ void hp3478a_state::lcd_interface(uint8_t p2new)
case lcd_iwatype::REG_A:
lcd_update_lonib(m_lcd_bitbuf);
lcd_map_chars();
LOGMASKED(DEBUG_LCD2, "LCD : write reg A (lonib) %I64X, text=%s\n", m_lcd_bitbuf, (char *) m_lcd_text);
LOGMASKED(DEBUG_LCD2, "LCD : write reg A (lonib) %X, text=%s\n", m_lcd_bitbuf, (char *) m_lcd_text);
break;
case lcd_iwatype::REG_B:
lcd_update_hinib(m_lcd_bitbuf);
lcd_map_chars();
LOGMASKED(DEBUG_LCD2, "LCD : write reg B (lonib) %I64X, text=%s\n", m_lcd_bitbuf, (char *) m_lcd_text);
LOGMASKED(DEBUG_LCD2, "LCD : write reg B (lonib) %X, text=%s\n", m_lcd_bitbuf, (char *) m_lcd_text);
break;
default:
//discard

View File

@ -166,7 +166,7 @@ protected:
{
for (const auto &monitor : list())
{
osd_printf_verbose("Video: Monitor %I64u = \"%s\" %s\n", monitor->oshandle(), monitor->devicename(), monitor->is_primary() ? "(primary)" : "");
osd_printf_verbose("Video: Monitor %u = \"%s\" %s\n", monitor->oshandle(), monitor->devicename(), monitor->is_primary() ? "(primary)" : "");
}
}

View File

@ -96,7 +96,7 @@ protected:
{
for (const auto &monitor : list())
{
osd_printf_verbose("Video: Monitor %I64u = \"%s\" %s\n", monitor->oshandle(), monitor->devicename(), monitor->is_primary() ? "(primary)" : "");
osd_printf_verbose("Video: Monitor %u = \"%s\" %s\n", monitor->oshandle(), monitor->devicename(), monitor->is_primary() ? "(primary)" : "");
}
}

View File

@ -38,8 +38,8 @@
//**************************************************************************
// CONSTANTS & DEFINES
//**************************************************************************
/* MINGW has adopted the MSVC formatting for 64-bit ints as of gcc 4.4 */
#if defined(WIN32)
// MINGW has adopted the MSVC formatting for 64-bit ints as of GCC 4.4 and deprecated it as of GCC 10
#if defined(WIN32) && defined(__GNUC__) && (__GNUC__ < 10)
#define I64FMT "I64"
#elif !defined(__APPLE__) && defined(__LP64__)
#define I64FMT "l"