diff options
Diffstat (limited to 'pidl')
-rw-r--r-- | pidl/lib/Parse/Pidl/Samba4/Python.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4/Python.pm b/pidl/lib/Parse/Pidl/Samba4/Python.pm index 1973aae1ec..e4fac4f9b5 100644 --- a/pidl/lib/Parse/Pidl/Samba4/Python.pm +++ b/pidl/lib/Parse/Pidl/Samba4/Python.pm @@ -727,7 +727,7 @@ sub register_module_typeobject($$$) { my ($self, $name, $py_name) = @_; - $self->register_module_object($name, "(PyObject *)$py_name"); + $self->register_module_object($name, "(PyObject *)(void *)$py_name"); $self->check_ready_type($py_name); |