diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-01 18:33:46 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-01 18:33:46 -0400 |
commit | 59a080cdb6bafa6ab20cb20c1bf1f007ea64de84 (patch) | |
tree | 99ee6bdb62d3e3fdedfaa494723e4a48ec8ec6e4 /src/emacs.cc | |
parent | 9f579902fb6b30cac426110dfd3faa55017b552b (diff) | |
download | fork-ledger-59a080cdb6bafa6ab20cb20c1bf1f007ea64de84.tar.gz fork-ledger-59a080cdb6bafa6ab20cb20c1bf1f007ea64de84.tar.bz2 fork-ledger-59a080cdb6bafa6ab20cb20c1bf1f007ea64de84.zip |
Changed many uses of "unsigned long" to std::size_t.
Diffstat (limited to 'src/emacs.cc')
-rw-r--r-- | src/emacs.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emacs.cc b/src/emacs.cc index 1e8226d1..b63375b2 100644 --- a/src/emacs.cc +++ b/src/emacs.cc @@ -43,7 +43,7 @@ void format_emacs_xacts::write_entry(entry_t& entry) break; } - out << (static_cast<unsigned long>(entry.beg_line) + 1) << " "; + out << (static_cast<std::size_t>(entry.beg_line) + 1) << " "; tm when = gregorian::to_tm(*entry.date()); std::time_t date = std::mktime(&when); // jww (2008-04-20): Is this GMT or local? @@ -79,7 +79,7 @@ void format_emacs_xacts::operator()(xact_t& xact) out << "\n"; } - out << " (" << (static_cast<unsigned long>(xact.beg_line) + 1) << " "; + out << " (" << (static_cast<std::size_t>(xact.beg_line) + 1) << " "; out << "\"" << xact.reported_account()->fullname() << "\" \"" << xact.amount << "\""; |