GRIFFON: Fix Various Signed vs. Unsigned GCC Compiler Warnings

These were introduced by changing the type of the various timer
variables from int to uint as part of the fix for timer drift during
pause. However, while these values do appear to be always positive,
this change does not appear to be required for the fix and results in
a large number of compiler warnings.
This commit is contained in:
D G Turner 2022-05-24 23:14:50 +01:00
parent 6e743a97ef
commit 5ac3ccc601

View File

@ -478,7 +478,7 @@ private:
int _scriptFlag[100][10], _saveSlot; // script, flag
// timer related - move to local later
uint _ticks, _ticksPassed, _nextTicks, _ticksAtPauseStart;
int _ticks, _ticksPassed, _nextTicks, _ticksAtPauseStart;
float _fp, _fps, _fpsr; // CHECKME: _fp and _fps seems to be integers
int _secsInGame, _secStart;