Warning fixes

This commit is contained in:
Henrik Rydgård
2024-05-20 10:04:11 +02:00
parent 640eb1f799
commit aa94867128
9 changed files with 25 additions and 26 deletions
+1 -1
View File
@@ -382,7 +382,7 @@ size_t DirectoryFileHandle::Seek(s32 position, FileMove type)
// The actual, underlying file hasn't been truncated (yet.)
if (type == FILEMOVE_END) {
type = FILEMOVE_BEGIN;
position = needsTrunc_ + position;
position = (s32)(needsTrunc_ + position);
}
}