summaryrefslogtreecommitdiff
path: root/src/print.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2013-05-19 02:06:45 -0500
committerJohn Wiegley <johnw@newartisans.com>2013-05-19 02:14:27 -0500
commitdb35e5c8fccf965c7383bebcfca8f7c3ad681d3b (patch)
tree945181016d58b48b2de6d60bf04a87cd39d6b18c /src/print.cc
parent0ab56f5d85ca20005e60eeafc2a7a2ce169689ee (diff)
downloadfork-ledger-db35e5c8fccf965c7383bebcfca8f7c3ad681d3b.tar.gz
fork-ledger-db35e5c8fccf965c7383bebcfca8f7c3ad681d3b.tar.bz2
fork-ledger-db35e5c8fccf965c7383bebcfca8f7c3ad681d3b.zip
Resolve new compiler warnings from Clang
Diffstat (limited to 'src/print.cc')
-rw-r--r--src/print.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print.cc b/src/print.cc
index f04f59d5..0683f2e3 100644
--- a/src/print.cc
+++ b/src/print.cc
@@ -210,7 +210,7 @@ namespace {
string amt;
if (post->amount_expr) {
std::ostringstream amt_str;
- justify(amt_str, post->amount_expr->text(), amount_width, true);
+ justify(amt_str, post->amount_expr->text(), (int)amount_width, true);
amt = amt_str.str();
}
else if (count == 2 && index == 2 &&