git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd86c9b
)
pidl:Samba4/Python: remove compiler warnings when using -Wc++
author
Stefan Metzmacher
<metze@samba.org>
Thu, 18 Mar 2010 09:52:05 +0000
(10:52 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 18 Mar 2010 12:34:04 +0000
(13:34 +0100)
metze
pidl/lib/Parse/Pidl/Samba4/Python.pm
patch
|
blob
|
history
diff --git
a/pidl/lib/Parse/Pidl/Samba4/Python.pm
b/pidl/lib/Parse/Pidl/Samba4/Python.pm
index a6c2738ddca4ce6e9c19df3c9f37b2f22a4152e2..1973aae1ecd17e127eb51c27f6dfe2d115ad0a4d 100644
(file)
--- a/
pidl/lib/Parse/Pidl/Samba4/Python.pm
+++ b/
pidl/lib/Parse/Pidl/Samba4/Python.pm
@@
-833,7
+833,7
@@
sub ConvertObjectFromPythonData($$$$$$;$)
return;
}
$self->pidl("PY_CHECK_TYPE($ctype_name, $cvar, $fail);");
- $self->assign($target, "py_talloc_get_ptr($cvar)");
+ $self->assign($target, "
(".mapTypeName($ctype)." *)
py_talloc_get_ptr($cvar)");
return;
}