Cast time_t object to long, for the sake of FreeBSD.

This commit is contained in:
John Wiegley 2008-04-13 05:07:28 -04:00
parent ecdd4198ba
commit 050e87f4e3

View file

@ -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) {