diff --git a/src/Apps/Tools/HDRTest.cpp b/src/Apps/Tools/HDRTest.cpp index d556959..de99e7f 100644 --- a/src/Apps/Tools/HDRTest.cpp +++ b/src/Apps/Tools/HDRTest.cpp @@ -275,10 +275,10 @@ int main(int argc, char** argv) r_window->EnableRelativeMouse(false); - uint32_t currentTest = 0; + int32_t currentTest = 0; auto t1 = Time::now(); auto startTime = Time::now(); - uint32_t stops = 0; + int32_t stops = 0; while (r_window->Update(handler)) { const auto t2 = Time::now(); @@ -297,7 +297,7 @@ int main(int argc, char** argv) else if (handler.getFirst(Input::ButtonCodes::Key_Down)) stops--; - stops = Clamp(stops, 0u, 5u); + stops = Clamp(stops, 0, 5); float targetNits = 0.0f; switch (stops)