summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/pfmtlog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/netlist/plib/pfmtlog.h')
-rw-r--r--src/lib/netlist/plib/pfmtlog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/plib/pfmtlog.h b/src/lib/netlist/plib/pfmtlog.h
index 7bf10173857..13ec2396a8a 100644
--- a/src/lib/netlist/plib/pfmtlog.h
+++ b/src/lib/netlist/plib/pfmtlog.h
@@ -248,7 +248,7 @@ protected:
strm << std::forward<T>(val);
const pstring ps(strm.str());
pstring pad("");
- std::size_t aw(std::abs(ret.width));
+ auto aw(static_cast<std::size_t>(std::abs(ret.width)));
if (aw > ps.length())
pad = pstring(aw - ps.length(), ' ');