mirror of
https://github.com/holub/mame
synced 2025-04-19 15:11:37 +03:00
Fix netlist build (nw)
This commit is contained in:
parent
7e776913b5
commit
45854fab01
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user