summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/devcpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/devcpu.c')
-rw-r--r--src/emu/devcpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/devcpu.c b/src/emu/devcpu.c
index 8f48eff2b65..802faf1d7a7 100644
--- a/src/emu/devcpu.c
+++ b/src/emu/devcpu.c
@@ -151,7 +151,7 @@ void legacy_cpu_device::device_start()
if (string != NULL && string[0] != 0)
{
astring flagstr;
- flagstr.printf("%%%ds", strlen(string));
+ flagstr.printf("%%%"SIZETFMT"s", strlen(string));
state_add(STATE_GENFLAGS, "GENFLAGS", m_state_io).callimport().callexport().formatstr(flagstr).noshow();
}
}