git.samba.org
/
jra
/
samba
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pidl/python: Add explicit casts, fixing implicit cast warnings.
[jra/samba/.git]
/
pidl
/
lib
/
Parse
/
Pidl
/
Samba4
/
Python.pm
diff --git
a/pidl/lib/Parse/Pidl/Samba4/Python.pm
b/pidl/lib/Parse/Pidl/Samba4/Python.pm
index 3efe77bdd9e22abcd9a889f8a2a8015d71f04698..48785f5b0ac517951c6c7b509b8d4066a8d9dcea 100644
(file)
--- 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;
}