diff options
Diffstat (limited to 'gobject/pygboxed.c')
-rw-r--r-- | gobject/pygboxed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gobject/pygboxed.c b/gobject/pygboxed.c index 10fde80..31db218 100644 --- a/gobject/pygboxed.c +++ b/gobject/pygboxed.c @@ -141,7 +141,7 @@ PyTypeObject PyGBoxed_Type = { (initproc)pyg_boxed_init, /* tp_init */ (allocfunc)0, /* tp_alloc */ (newfunc)0, /* tp_new */ - pyg_boxed_free, /* tp_free */ + (freefunc)pyg_boxed_free, /* tp_free */ (inquiry)0, /* tp_is_gc */ (PyObject *)0, /* tp_bases */ }; @@ -340,7 +340,7 @@ PyTypeObject PyGPointer_Type = { (initproc)pyg_pointer_init, /* tp_init */ (allocfunc)0, /* tp_alloc */ (newfunc)0, /* tp_new */ - pyg_pointer_free, /* tp_free */ + (freefunc)pyg_pointer_free, /* tp_free */ (inquiry)0, /* tp_is_gc */ (PyObject *)0, /* tp_bases */ }; |