1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

pidl:Samba4/Python: remove compiler warnings when using -Wc++

metze
This commit is contained in:
Stefan Metzmacher 2010-03-18 10:52:05 +01:00
parent fd86c9b687
commit 2624bafca5

View File

@ -833,7 +833,7 @@ sub ConvertObjectFromPythonData($$$$$$;$)
return;
}
$self->pidl("PY_CHECK_TYPE($ctype_name, $cvar, $fail);");
$self->assign($target, "py_talloc_get_ptr($cvar)");
$self->assign($target, "(".mapTypeName($ctype)." *)py_talloc_get_ptr($cvar)");
return;
}