summaryrefslogtreecommitdiffstats
path: root/src/libs/7zip/unix/CPP/7zip/Common/StreamObjects.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/7zip/unix/CPP/7zip/Common/StreamObjects.h')
-rw-r--r--src/libs/7zip/unix/CPP/7zip/Common/StreamObjects.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/7zip/unix/CPP/7zip/Common/StreamObjects.h b/src/libs/7zip/unix/CPP/7zip/Common/StreamObjects.h
index 8cd95c700..5c8b5e51b 100644
--- a/src/libs/7zip/unix/CPP/7zip/Common/StreamObjects.h
+++ b/src/libs/7zip/unix/CPP/7zip/Common/StreamObjects.h
@@ -48,7 +48,7 @@ public:
~CByteDynBuffer() { Free(); }
void Free();
size_t GetCapacity() const { return _capacity; }
- operator Byte*() const { return _buf; };
+ operator Byte*() { return _buf; };
operator const Byte*() const { return _buf; };
bool EnsureCapacity(size_t capacity);
};