diff options
-rw-r--r-- | indra/llui/lltimectrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltimectrl.cpp b/indra/llui/lltimectrl.cpp index ce376f001d..88b11d6c0f 100644 --- a/indra/llui/lltimectrl.cpp +++ b/indra/llui/lltimectrl.cpp @@ -161,7 +161,7 @@ void LLTimeCtrl::setTime24(F32 time) { time = llclamp(time, 0.0f, 23.99f); // fix out of range values - U32 h = time; + U32 h = (U32) time; U32 m = llround((time - h) * 60); // fixes values like 4.99999 // fix rounding error |