diff options
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-type.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-type.c b/gdb/python/py-type.c index 44a2038..875f7aa 100644 --- a/gdb/python/py-type.c +++ b/gdb/python/py-type.c @@ -1176,7 +1176,7 @@ static PyObject * typy_has_key (PyObject *self, PyObject *args) { struct type *type = ((type_object *) self)->type; - char *field; + const char *field; int i; if (!PyArg_ParseTuple (args, "s", &field)) |