summaryrefslogtreecommitdiff
path: root/src/format.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/format.h')
-rw-r--r--src/format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format.h b/src/format.h
index 256dd66a..f30b8184 100644
--- a/src/format.h
+++ b/src/format.h
@@ -100,7 +100,7 @@ class format_t : public expr_base_t<string>
out << std::right;
if (elem->min_width > 0)
- out.width(elem->min_width);
+ out.width(static_cast<std::streamsize>(elem->min_width));
}
void dump(std::ostream& out) const;