git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1df5ca6
)
Revert "pidl/python: Add explicit casts, fixing implicit cast warnings."
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 21 Apr 2009 13:07:10 +0000
(15:07 +0200)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 21 Apr 2009 13:07:10 +0000
(15:07 +0200)
It was creating new objects with bogus data.
This reverts commit
210830392999691469a55f4f5e2032abcdb20b8a
.
pidl/lib/Parse/Pidl/Samba4/Python.pm
patch
|
blob
|
history
diff --git
a/pidl/lib/Parse/Pidl/Samba4/Python.pm
b/pidl/lib/Parse/Pidl/Samba4/Python.pm
index 6099fe5caefeb9ebff05a77fccd82261f41bee71..81869b0da5c93d652c1bba734914557da95106b6 100644
(file)
--- 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;
}