diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-29 14:59:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-29 15:03:03 +0300 |
commit | 5552b6f960a562522c36992aeca6dd2e22e9b111 (patch) | |
tree | d07eb128e873577a9c763ee635a56d9643b9e2f6 /src/fs/virtfs/zip.h | |
parent | 97d9ed131ae4fad7d54274cf5b74cf587b391bad (diff) | |
download | plus-5552b6f960a562522c36992aeca6dd2e22e9b111.tar.gz plus-5552b6f960a562522c36992aeca6dd2e22e9b111.tar.bz2 plus-5552b6f960a562522c36992aeca6dd2e22e9b111.tar.xz plus-5552b6f960a562522c36992aeca6dd2e22e9b111.zip |
Add missing const in zip file buffer.
Diffstat (limited to 'src/fs/virtfs/zip.h')
-rw-r--r-- | src/fs/virtfs/zip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/virtfs/zip.h b/src/fs/virtfs/zip.h index 89e04408f..d2d90b28e 100644 --- a/src/fs/virtfs/zip.h +++ b/src/fs/virtfs/zip.h @@ -35,7 +35,7 @@ namespace Zip void reportZlibError(const std::string &text, const int err); uint8_t *readCompressedFile(const ZipLocalHeader *restrict const header); - uint8_t *readFile(const ZipLocalHeader *restrict const header); + const uint8_t *readFile(const ZipLocalHeader *restrict const header); } // namespace Zip #endif // UTILS_ZIP_H |