Fix netlist build (nw)

This commit is contained in:
Vas Crabb 2015-08-17 23:11:42 +10:00
parent 7e776913b5
commit 45854fab01

View File

@ -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;
}