From 9040b7b93ba2b3f3a7751a15e78834bc47ce4d1d Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Tue, 17 Sep 2013 17:17:55 -0500 Subject: [PATCH] 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 --- lib/bup/_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5