aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authoreustas <eustas.ru@gmail.com>2016-01-23 00:31:47 +0100
committereustas <eustas.ru@gmail.com>2016-01-23 00:31:47 +0100
commitfec00d24e164b3ae9f21d49dfcd66aa284299bdc (patch)
tree7a42225a077bdd8d075a435997776c9b04ebde83 /python
parenta22993b3125b838d7dd79d916f41be6d42fd38aa (diff)
downloadbrotli-fec00d24e164b3ae9f21d49dfcd66aa284299bdc.zip
brotli-fec00d24e164b3ae9f21d49dfcd66aa284299bdc.tar.gz
brotli-fec00d24e164b3ae9f21d49dfcd66aa284299bdc.tar.bz2
Make input const
Diffstat (limited to 'python')
-rw-r--r--python/brotlimodule.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/brotlimodule.cc b/python/brotlimodule.cc
index 58e5ee1..744578a 100644
--- a/python/brotlimodule.cc
+++ b/python/brotlimodule.cc
@@ -167,7 +167,7 @@ PyDoc_STRVAR(decompress__doc__,
static PyObject* brotli_decompress(PyObject *self, PyObject *args) {
PyObject *ret = NULL;
- uint8_t *input;
+ const uint8_t *input;
size_t length;
int ok;