mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-24 10:46:24 +08:00
* python/py-type.c (typy_has_key): Make 'field' const.
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user