Warning fixes

This commit is contained in:
Henrik Rydgård committed 2024-05-20 10:04:11 +02:00
1 parent 640eb1f799
commit aa94867128
9 files changed
+25 -26

No files matched your search

+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);
}
}