From 31e43f700b2716eee3c1d36cf64630b908deaea4 Mon Sep 17 00:00:00 2001 From: Leslie Linden Date: Fri, 9 Sep 2011 09:58:47 -0700 Subject: Update types from time_t to F64 to fix type conversion error related to timestamps. --- indra/newview/llpanelmarketplaceinboxinventory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llpanelmarketplaceinboxinventory.cpp b/indra/newview/llpanelmarketplaceinboxinventory.cpp index ac517f3f3e..d51aa73c93 100644 --- a/indra/newview/llpanelmarketplaceinboxinventory.cpp +++ b/indra/newview/llpanelmarketplaceinboxinventory.cpp @@ -197,8 +197,8 @@ void LLInboxFolderViewFolder::computeFreshness() if (!last_expansion.empty()) { // Inventory DB timezone is hardcoded to PDT or GMT-7, which is 7 hours behind GMT - const time_t SEVEN_HOURS_IN_SECONDS = 7 * 60 * 60; - const time_t saved_freshness_inventory_db_timezone = LLDate(last_expansion).secondsSinceEpoch() - SEVEN_HOURS_IN_SECONDS; + const F64 SEVEN_HOURS_IN_SECONDS = 7 * 60 * 60; + const F64 saved_freshness_inventory_db_timezone = LLDate(last_expansion).secondsSinceEpoch() - SEVEN_HOURS_IN_SECONDS; mFresh = (mCreationDate > saved_freshness_inventory_db_timezone); -- cgit v1.2.3