Fix another 1L literal

This commit is contained in:
Steven Chamberlain 2016-04-13 02:24:55 +01:00
parent df6199de70
commit 9f7467d3ad

View File

@ -101,7 +101,7 @@ void LimitFrameRate(void)
TIME tmCurrentDelta = (tvNow-tvLast).GetSeconds();
// limit maximum frame rate
ded_iMaxFPS = ClampDn( ded_iMaxFPS, 1L);
ded_iMaxFPS = ClampDn( ded_iMaxFPS, 1);
TIME tmWantedDelta = 1.0f / ded_iMaxFPS;
if( tmCurrentDelta<tmWantedDelta)
_pTimer->Sleep( (DWORD) ((tmWantedDelta-tmCurrentDelta)*1000.0f) );