summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfileprivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/virtfs/virtfileprivate.h')
-rw-r--r--src/fs/virtfs/virtfileprivate.h4
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;