From c3a9a7d2c584a7651426b3516f4e9991c8063e02 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 17 Feb 2012 15:17:52 -0600 Subject: Fixed many Clang type conversion warnings with static_cast --- src/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/format.h') 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 out << std::right; if (elem->min_width > 0) - out.width(elem->min_width); + out.width(static_cast(elem->min_width)); } void dump(std::ostream& out) const; -- cgit v1.2.3