From 45854fab0108829ee7b1964532207af2f5b2dac8 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Mon, 17 Aug 2015 23:11:42 +1000 Subject: [PATCH] Fix netlist build (nw) --- src/emu/netlist/plib/pstring.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emu/netlist/plib/pstring.c b/src/emu/netlist/plib/pstring.c index 1c02f026677..f2583787f3e 100644 --- a/src/emu/netlist/plib/pstring.c +++ b/src/emu/netlist/plib/pstring.c @@ -342,7 +342,7 @@ const pstring::type_t pstring::vprintf(va_list args) const char tempbuf[4096]; std::vsprintf(tempbuf, cstr(), args); - return pstring_t(tempbuf); + return type_t(tempbuf); } @@ -350,7 +350,7 @@ const pstring::type_t pstring::sprintf(const char *format, ...) { va_list ap; va_start(ap, format); - pstring_t ret = pstring(format).vprintf(ap); + type_t ret = pstring(format).vprintf(ap); va_end(ap); return ret; }