From fec00d24e164b3ae9f21d49dfcd66aa284299bdc Mon Sep 17 00:00:00 2001 From: eustas Date: Sat, 23 Jan 2016 00:31:47 +0100 Subject: [PATCH] Make input const --- python/brotlimodule.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;