diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-05-30 23:20:04 +0300 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-05-30 23:20:04 +0300 |
commit | 345a72f47996f9e3ccd7cb1a28060250339be3c8 (patch) | |
tree | 6e6b0cefe388593c1a9f7acf8fd69e67fa40d6ff /indra | |
parent | 04f680a5c3fec056fb9bf3b5d531e85a60dfbd8a (diff) |
STORM-1253 WIP Fixed a compiler warning.
Diffstat (limited to 'indra')
-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 |