diff options
Diffstat (limited to 'emacs.cc')
-rw-r--r-- | emacs.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,7 +13,7 @@ void format_emacs_xacts::write_entry(entry_t& entry) break; } - out << (((unsigned long)entry.beg_line) + 1) << " "; + out << (static_cast<unsigned long>(entry.beg_line) + 1) << " "; tm when = boost::posix_time::to_tm(entry.date()); std::time_t date = std::mktime(&when); // jww (2008-04-20): Is this GMT or local? @@ -49,7 +49,7 @@ void format_emacs_xacts::operator()(xact_t& xact) out << "\n"; } - out << " (" << (((unsigned long)xact.beg_line) + 1) << " "; + out << " (" << (static_cast<unsigned long>(xact.beg_line) + 1) << " "; out << "\"" << xact_account(xact)->fullname() << "\" \"" << xact.amount << "\""; |