PRINCE: Fix Signed vs. Unsigned GCC Compiler Warning

This commit is contained in:
D G Turner 2020-05-09 19:34:08 +01:00
parent 8b1535cbdd
commit 31115960e6

View File

@ -98,7 +98,7 @@ bool PtcArchive::openTranslation(const Common::String &filename) {
_items[translationNames[i]] = item;
}
if (_items[translationNames[0]]._offset == _stream->pos()) {
if ((int32)_items[translationNames[0]]._offset == _stream->pos()) {
warning("v0 translation file detected, update is needed");
return true;