diff --git a/src/gui/TimeMachine.cxx b/src/gui/TimeMachine.cxx index ec635d554..42ea08d49 100644 --- a/src/gui/TimeMachine.cxx +++ b/src/gui/TimeMachine.cxx @@ -40,7 +40,7 @@ void TimeMachine::requestResize() if(w < FrameBuffer::kFBMinW) newWidth = w; else if(myBaseDialog->getWidth() != 0.8 * w) - newWidth = 0.8 * w; + newWidth = uInt32(0.8 * w); // Only re-create when absolutely necessary if(myWidth != newWidth)