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

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

Michael
This commit is contained in:
Michael Adam 2009-01-22 08:10:11 +01:00
parent de5313cbb5
commit 2108303929

View File

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