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/virtfileprivate.h | |
parent | 97d9ed131ae4fad7d54274cf5b74cf587b391bad (diff) | |
download | mv-5552b6f960a562522c36992aeca6dd2e22e9b111.tar.gz mv-5552b6f960a562522c36992aeca6dd2e22e9b111.tar.bz2 mv-5552b6f960a562522c36992aeca6dd2e22e9b111.tar.xz mv-5552b6f960a562522c36992aeca6dd2e22e9b111.zip |
Add missing const in zip file buffer.
Diffstat (limited to 'src/fs/virtfs/virtfileprivate.h')
-rw-r--r-- | src/fs/virtfs/virtfileprivate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/virtfs/virtfileprivate.h b/src/fs/virtfs/virtfileprivate.h index d96cb5781..735a0209f 100644 --- a/src/fs/virtfs/virtfileprivate.h +++ b/src/fs/virtfs/virtfileprivate.h @@ -31,7 +31,7 @@ struct VirtFilePrivate final explicit VirtFilePrivate(FILEHTYPE fd); - VirtFilePrivate(uint8_t *restrict const buf, + VirtFilePrivate(const uint8_t *restrict const buf, const size_t sz); A_DELETE_COPY(VirtFilePrivate) @@ -39,7 +39,7 @@ struct VirtFilePrivate final ~VirtFilePrivate(); // zipfs fields - uint8_t *mBuf; + const uint8_t *mBuf; // zipfs fields size_t mPos; |