diff options
Diffstat (limited to 'src/fs/virtfs/virtfszip.cpp')
-rw-r--r-- | src/fs/virtfs/virtfszip.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/virtfs/virtfszip.cpp b/src/fs/virtfs/virtfszip.cpp index 687245f3a..8490cb981 100644 --- a/src/fs/virtfs/virtfszip.cpp +++ b/src/fs/virtfs/virtfszip.cpp @@ -220,7 +220,7 @@ namespace VirtFsZip const ZipLocalHeader *restrict const header = *it2; if (header->fileName == filename) { - uint8_t *restrict const buf = Zip::readFile(header); + const uint8_t *restrict const buf = Zip::readFile(header); if (buf == nullptr) return nullptr; VirtFile *restrict const file = new VirtFile(&funcs); @@ -350,7 +350,7 @@ namespace VirtFsZip const ZipLocalHeader *restrict const header = *it2; if (header->fileName == filename) { - uint8_t *restrict const buf = Zip::readFile(header); + const uint8_t *restrict const buf = Zip::readFile(header); if (buf == nullptr) return nullptr; |