diff options
author | John Wiegley <johnw@newartisans.com> | 2008-04-13 05:07:28 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 05:07:28 -0400 |
commit | 050e87f4e304aabf341e432c8303b8d357f099f2 (patch) | |
tree | 2f354b19262e44005af1a7ca3f3bd758a239c545 | |
parent | ecdd4198ba9fd1b06e14f08ee898ab0a09291bd2 (diff) | |
download | fork-ledger-050e87f4e304aabf341e432c8303b8d357f099f2.tar.gz fork-ledger-050e87f4e304aabf341e432c8303b8d357f099f2.tar.bz2 fork-ledger-050e87f4e304aabf341e432c8303b8d357f099f2.zip |
Cast time_t object to long, for the sake of FreeBSD.
-rw-r--r-- | datetime.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -138,7 +138,7 @@ class date_t inline long operator-(const date_t& left, const date_t& right) { date_t temp(left); temp -= right; - return temp; + return long(temp); } inline date_t operator+(const date_t& left, const long days) { |