summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl/Samba4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-03-18 12:36:57 +0100
committerStefan Metzmacher <metze@samba.org>2010-03-18 13:34:04 +0100
commitf055fce74c0f569e8bfcf29e5c4fadb592a7c87d (patch)
treecf6695a3b442cbe8c9fc82fbe1bafad2b264fdd2 /pidl/lib/Parse/Pidl/Samba4
parent2624bafca532de66ae1d4976f8c2e99f5f7b250e (diff)
downloadsamba-f055fce74c0f569e8bfcf29e5c4fadb592a7c87d.tar.gz
samba-f055fce74c0f569e8bfcf29e5c4fadb592a7c87d.tar.bz2
samba-f055fce74c0f569e8bfcf29e5c4fadb592a7c87d.zip
pidl:Samba4/Python: remove compiler warnings
metze
Diffstat (limited to 'pidl/lib/Parse/Pidl/Samba4')
-rw-r--r--pidl/lib/Parse/Pidl/Samba4/Python.pm2
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);