From 400c327ee1863f5e1e9ecd2c09ec6146bfa800e7 Mon Sep 17 00:00:00 2001 From: SAN4EZDREAMS Date: Mon, 4 Aug 2025 12:35:02 +0300 Subject: [PATCH] [BUG] [GCC] warning: comparison fix 1 --- src/common/filesystem/source/file_7z.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/filesystem/source/file_7z.cpp b/src/common/filesystem/source/file_7z.cpp index 21d6049e3..cf948076b 100644 --- a/src/common/filesystem/source/file_7z.cpp +++ b/src/common/filesystem/source/file_7z.cpp @@ -337,7 +337,7 @@ FileData F7ZFile::Read(uint32_t entry) FileReader F7ZFile::GetEntryReader(uint32_t entry, int, int) { FileReader fr; - if (entry < 0 || entry >= NumLumps) return fr; + if (entry >= NumLumps) return fr; auto buffer = Read(entry); if (buffer.size() > 0) fr.OpenMemoryArray(buffer);