summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeslie Linden <leslie@lindenlab.com>2011-09-09 09:58:47 -0700
committerLeslie Linden <leslie@lindenlab.com>2011-09-09 09:58:47 -0700
commit31e43f700b2716eee3c1d36cf64630b908deaea4 (patch)
tree51df801361f104de01334658a0026975d88cd08c
parent8d64e5d831dddc8a5f5c25ed79f79c730c0947f1 (diff)
Update types from time_t to F64 to fix type conversion error related to timestamps.
-rw-r--r--indra/newview/llpanelmarketplaceinboxinventory.cpp4
1 files changed, 2 insertions, 2 deletions
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);