From a087e6ea97494d97580c97705c665cac317a0dc3 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 15 Apr 2007 02:55:16 +0000 Subject: Cleared out all warnings; started work on getting Python up again. --- quotes.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'quotes.cc') diff --git a/quotes.cc b/quotes.cc index a8fbfbc5..c5af712b 100644 --- a/quotes.cc +++ b/quotes.cc @@ -27,9 +27,9 @@ void quotes_by_script::operator()(commodity_base_t& commodity, DEBUG_PRINT_("pricing_leeway is " << pricing_leeway); if ((commodity.history && - (datetime_t::now - commodity.history->last_lookup) < pricing_leeway) || - (datetime_t::now - last) < pricing_leeway || - (price && moment > date && (moment - date) <= pricing_leeway)) + (datetime_t::now - commodity.history->last_lookup) < (long)pricing_leeway) || + (datetime_t::now - last) < (long)pricing_leeway || + (price && moment > date && (moment - date) <= (long)pricing_leeway)) return; using namespace std; -- cgit v1.2.3