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
@@ -135,7 +135,7 @@ void VirtualDiscFileSystem::LoadFileListIndex() {
if (trunc != entry.fileName.npos && trunc != entry.fileName.size())
entry.fileName.resize(trunc + 1);
entry.firstBlock = strtol(line.c_str(), NULL, 16);
entry.firstBlock = (u32)strtol(line.c_str(), NULL, 16);
if (entry.handler != NULL && entry.handler->IsValid()) {
HandlerFileHandle temp = entry.handler;
if (temp.Open(basePath.ToString(), entry.fileName, FILEACCESS_READ)) {