summaryrefslogtreecommitdiff
path: root/c/call_python.c
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2017-09-27 09:38:15 +0200
committerArmin Rigo <arigo@tunes.org>2017-09-27 09:38:15 +0200
commitfd5d394a95feb8bedbbe7323a6045f5a9f00e0ec (patch)
treed8c7f9933a4d50395080aec0b765212b113401dc /c/call_python.c
parentf172af3bf3252a62853ca64c1f08d92127f1989e (diff)
downloadcffi-fd5d394a95feb8bedbbe7323a6045f5a9f00e0ec.tar.gz
"char *" => "const char *" until Python 3.7 is happy
Diffstat (limited to 'c/call_python.c')
-rw-r--r--c/call_python.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/call_python.c b/c/call_python.c
index 6e15ca3..b41042b 100644
--- a/c/call_python.c
+++ b/c/call_python.c
@@ -51,7 +51,7 @@ static PyObject *_get_interpstate_dict(void)
static PyObject *_ffi_def_extern_decorator(PyObject *outer_args, PyObject *fn)
{
- char *s;
+ const char *s;
PyObject *error, *onerror, *infotuple, *old1;
int index, err;
const struct _cffi_global_s *g;