From dae7d10a74ae7a4fa65d141919c5d422186b6034 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sun, 16 Nov 2025 17:38:05 +0300 Subject: [PATCH] fix --- src/io/devices/ZipFileDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/devices/ZipFileDevice.cpp b/src/io/devices/ZipFileDevice.cpp index 80021ba2..dce05388 100644 --- a/src/io/devices/ZipFileDevice.cpp +++ b/src/io/devices/ZipFileDevice.cpp @@ -239,7 +239,7 @@ std::unique_ptr ZipFileDevice::read(std::string_view path) { size_t ZipFileDevice::size(std::string_view path) { const auto& found = entries.find(std::string(path)); if (found == entries.end()) { - return false; + return 0; } return found->second.uncompressedSize; }