diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-31 00:14:17 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-31 00:14:17 -0400 |
commit | 4becc1f938bc474cfa657918a6d3d74b03978440 (patch) | |
tree | b0f550b931db8b2bd2b1a4a6ab01c01f11fb05bc /src/global.cc | |
parent | 7a299ec8a65a54b5ccdbcd19abac2cab0fce721c (diff) | |
download | fork-ledger-4becc1f938bc474cfa657918a6d3d74b03978440.tar.gz fork-ledger-4becc1f938bc474cfa657918a6d3d74b03978440.tar.bz2 fork-ledger-4becc1f938bc474cfa657918a6d3d74b03978440.zip |
Added two missing casts
Diffstat (limited to 'src/global.cc')
-rw-r--r-- | src/global.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/global.cc b/src/global.cc index a26d4cd1..9ba2a357 100644 --- a/src/global.cc +++ b/src/global.cc @@ -543,7 +543,8 @@ void global_scope_t::normalize_report_options(const string& verb) if (! rep.HANDLER(date_width_).specified) rep.HANDLER(date_width_) - .on_with(none, format_date(CURRENT_DATE(), FMT_PRINTED).length()); + .on_with(none, static_cast<long>(format_date(CURRENT_DATE(), + FMT_PRINTED).length())); long date_width = rep.HANDLER(date_width_).value.to_long(); long payee_width = (rep.HANDLER(payee_width_).specified ? |