From: Rob Browning Date: Tue, 17 Sep 2013 22:17:55 +0000 (-0500) Subject: write_idx: make filename char* non-const (fixes python 2.6.6 compatibility). X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=9040b7b93ba2b3f3a7751a15e78834bc47ce4d1d;p=packages%2Fb%2Fbup.git write_idx: make filename char* non-const (fixes python 2.6.6 compatibility). Thanks to Alexander Barton for the report. Signed-off-by: Rob Browning --- diff --git a/lib/bup/_helpers.c b/lib/bup/_helpers.c index 8381383..fcd4b8c 100644 --- a/lib/bup/_helpers.c +++ b/lib/bup/_helpers.c @@ -484,7 +484,7 @@ static uint64_t htonll(uint64_t value) static PyObject *write_idx(PyObject *self, PyObject *args) { - const char *filename = NULL; + char *filename = NULL; PyObject *idx = NULL; PyObject *part; unsigned char *fmap = NULL;