summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergei Lopatin <magist3r@gmail.com>2012-10-26 02:24:14 +0600
committerKarsten Heimrich <karsten.heimrich@digia.com>2012-10-26 11:50:49 +0200
commitf07866ca75225616e59ab32e755e2689c2b26e46 (patch)
treeba3230f0b504195e87f93cd3079974b790858fe1 /src
parent9e5bc2d6430ba030975f989737f6a6598c24cea2 (diff)
MinGW: fix constness for CByteDynBuffer::operator Byte*
Change-Id: I45ee3a3df3755537f063277b9070c1eab55edcc2 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/libs/7zip/win/CPP/7zip/Common/StreamObjects.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/7zip/win/CPP/7zip/Common/StreamObjects.h b/src/libs/7zip/win/CPP/7zip/Common/StreamObjects.h
index 8cd95c700..5c8b5e51b 100644
--- a/src/libs/7zip/win/CPP/7zip/Common/StreamObjects.h
+++ b/src/libs/7zip/win/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);
};