diff options
-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; } } |