Fixed compiles warnings in VS 2017.

This commit is contained in:
Stephen Anthony 2018-02-03 19:52:14 -03:30
parent 1f1ced0f01
commit 974c686366
1 changed files with 1 additions and 1 deletions

View File

@ -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)