summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/vfs_libzip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/file_sys/vfs_libzip.cpp')
-rw-r--r--src/core/file_sys/vfs_libzip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/vfs_libzip.cpp b/src/core/file_sys/vfs_libzip.cpp
index 8bdaa7e4a..11d1978ea 100644
--- a/src/core/file_sys/vfs_libzip.cpp
+++ b/src/core/file_sys/vfs_libzip.cpp
@@ -27,7 +27,7 @@ VirtualDir ExtractZIP(VirtualFile file) {
std::shared_ptr<VectorVfsDirectory> out = std::make_shared<VectorVfsDirectory>();
- const auto num_entries = zip_get_num_entries(zip.get(), 0);
+ const auto num_entries = static_cast<std::size_t>(zip_get_num_entries(zip.get(), 0));
zip_stat_t stat{};
zip_stat_init(&stat);