From f055fce74c0f569e8bfcf29e5c4fadb592a7c87d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 18 Mar 2010 12:36:57 +0100 Subject: pidl:Samba4/Python: remove compiler warnings metze --- pidl/lib/Parse/Pidl/Samba4/Python.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pidl') 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); -- cgit