diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-05-31 03:12:36 +0300 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-05-31 03:12:36 +0300 |
commit | a079ac98c702bcb9de9860cd33c440941fb04a2a (patch) | |
tree | ca007ab4157010c7b2d177adfb3c937d3d8cf6d1 | |
parent | 345a72f47996f9e3ccd7cb1a28060250339be3c8 (diff) |
STORM-1253 WIP Fixed more compiler warnings.
-rw-r--r-- | indra/newview/llfloatereditdaycycle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloatereditdaycycle.cpp b/indra/newview/llfloatereditdaycycle.cpp index 91809e0707..2ff6901652 100644 --- a/indra/newview/llfloatereditdaycycle.cpp +++ b/indra/newview/llfloatereditdaycycle.cpp @@ -456,8 +456,8 @@ void LLFloaterEditDayCycle::dumpTrack() for (std::map<F32, LLWLParamKey>::iterator it = cur_dayp.mTimeMap.begin(); it != cur_dayp.mTimeMap.end(); ++it) { F32 time = it->first * 24.0f; - S32 h = time; - S32 m = (time - h) * 60.0f; + S32 h = (S32) time; + S32 m = (S32) ((time - h) * 60.0f); LL_DEBUGS("Windlight") << llformat("(%.3f) %02d:%02d", time, h, m) << " => " << it->second.name << LL_ENDL; } } |