summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-04-21 15:07:10 +0200
committerAndrew Bartlett <abartlet@samba.org>2009-04-21 15:07:10 +0200
commit8ab74e948a0e417b298a5ee9eaba684423aa5653 (patch)
tree67a682b341a53667663055ec14d1bc8e5e8e706c /pidl/lib/Parse
parent1df5ca6afab3aeac43dfe4773cba1b9ce4d488f5 (diff)
downloadsamba-8ab74e948a0e417b298a5ee9eaba684423aa5653.tar.gz
samba-8ab74e948a0e417b298a5ee9eaba684423aa5653.tar.bz2
samba-8ab74e948a0e417b298a5ee9eaba684423aa5653.zip
Revert "pidl/python: Add explicit casts, fixing implicit cast warnings."
It was creating new objects with bogus data. This reverts commit 210830392999691469a55f4f5e2032abcdb20b8a.
Diffstat (limited to 'pidl/lib/Parse')
-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 6099fe5cae..81869b0da5 100644
--- a/pidl/lib/Parse/Pidl/Samba4/Python.pm
+++ b/pidl/lib/Parse/Pidl/Samba4/Python.pm
@@ -845,7 +845,7 @@ sub ConvertObjectFromPythonData($$$$$$)
return;
}
$self->pidl("PY_CHECK_TYPE($ctype_name, $cvar, $fail);");
- $self->assign($target, "talloc_ptrtype(py_talloc_get_ptr($cvar), $target)");
+ $self->assign($target, "py_talloc_get_ptr($cvar)");
return;
}