From 8ab74e948a0e417b298a5ee9eaba684423aa5653 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 21 Apr 2009 15:07:10 +0200 Subject: Revert "pidl/python: Add explicit casts, fixing implicit cast warnings." It was creating new objects with bogus data. This reverts commit 210830392999691469a55f4f5e2032abcdb20b8a. --- pidl/lib/Parse/Pidl/Samba4/Python.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pidl') diff --git a/pidl/lib/Parse/Pidl/Samba4/Python.pm b/pidl/lib/Parse/Pidl/Samba4/Python.pm index 6099fe5caef..81869b0da5c 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; } -- cgit v1.2.1