diff options
Diffstat (limited to 'gdb/python/py-prettyprint.c')
-rw-r--r-- | gdb/python/py-prettyprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-prettyprint.c b/gdb/python/py-prettyprint.c index 274ac6c..df21ff0 100644 --- a/gdb/python/py-prettyprint.c +++ b/gdb/python/py-prettyprint.c @@ -393,7 +393,7 @@ print_string_repr (PyObject *printer, const char *hint, static void py_restore_tstate (void *p) { - PyFrameObject *frame = p; + PyFrameObject *frame = (PyFrameObject *) p; PyThreadState *tstate = PyThreadState_GET (); tstate->frame = frame; |