diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-17 15:17:52 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-17 15:17:52 -0600 |
commit | c3a9a7d2c584a7651426b3516f4e9991c8063e02 (patch) | |
tree | 6a7748588d90d3d9e0032903548b3411d7277dd6 /src/format.h | |
parent | c6b51a2635bdf7da803dd2fc8251d6c290f134a4 (diff) | |
download | fork-ledger-c3a9a7d2c584a7651426b3516f4e9991c8063e02.tar.gz fork-ledger-c3a9a7d2c584a7651426b3516f4e9991c8063e02.tar.bz2 fork-ledger-c3a9a7d2c584a7651426b3516f4e9991c8063e02.zip |
Fixed many Clang type conversion warnings with static_cast
Diffstat (limited to 'src/format.h')
-rw-r--r-- | src/format.h | 2 |
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; |