1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

Revert "pidl/python: Add explicit casts, fixing implicit cast warnings."

It was creating new objects with bogus data.

This reverts commit 2108303929.
This commit is contained in:
Andrew Bartlett 2009-04-21 15:07:10 +02:00
parent 1df5ca6afa
commit 8ab74e948a

View File

@ -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;
}