summaryrefslogtreecommitdiff
path: root/pidl/lib
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-01-22 08:10:11 +0100
committerMichael Adam <obnox@samba.org>2009-01-22 08:16:55 +0100
commit210830392999691469a55f4f5e2032abcdb20b8a (patch)
tree3428644f90632d723d56a81fd0c2836966bc27d6 /pidl/lib
parentde5313cbb5d83277db638788de2ddd5743d5d0cd (diff)
downloadsamba-210830392999691469a55f4f5e2032abcdb20b8a.tar.gz
samba-210830392999691469a55f4f5e2032abcdb20b8a.tar.bz2
samba-210830392999691469a55f4f5e2032abcdb20b8a.zip
pidl/python: Add explicit casts, fixing implicit cast warnings.
Michael
Diffstat (limited to 'pidl/lib')
-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 3efe77bdd9..48785f5b0a 100644
--- a/pidl/lib/Parse/Pidl/Samba4/Python.pm
+++ b/pidl/lib/Parse/Pidl/Samba4/Python.pm
@@ -828,7 +828,7 @@ sub ConvertObjectFromPythonData($$$$$$)
return;
}
$self->pidl("PY_CHECK_TYPE($ctype_name, $cvar, $fail);");
- $self->assign($target, "py_talloc_get_ptr($cvar)");
+ $self->assign($target, "talloc_ptrtype(py_talloc_get_ptr($cvar), $target)");
return;
}