diff --git a/indra/newview/llfloaterregionrestarting.cpp b/indra/newview/llfloaterregionrestarting.cpp index 718b15236f..7c3cf904d3 100644 --- a/indra/newview/llfloaterregionrestarting.cpp +++ b/indra/newview/llfloaterregionrestarting.cpp @@ -108,10 +108,10 @@ void LLFloaterRegionRestarting::refresh() args["[SECONDS]"] = llformat("%d", sSeconds); getChild("restart_seconds")->setValue(getString("RestartSeconds", args)); - sSeconds = sSeconds - 1.f; - if(sSeconds < 0.0f) + sSeconds = sSeconds - 1; + if(sSeconds < 0) { - sSeconds = 0.f; + sSeconds = 0; } }