From 345a72f47996f9e3ccd7cb1a28060250339be3c8 Mon Sep 17 00:00:00 2001 From: Vadim ProductEngine Date: Mon, 30 May 2011 23:20:04 +0300 Subject: STORM-1253 WIP Fixed a compiler warning. --- indra/llui/lltimectrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') 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 -- cgit v1.2.3