diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-08-01 13:00:30 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-08-01 13:44:26 +0200 |
commit | 7ae14ed6662d4d8fb0034931dcac34d3c032d5dd (patch) | |
tree | fec962582cc8efd0da2a46aacafe657bb5f920a6 /pidl/lib/Parse/Pidl | |
parent | 2d23dff49b353265e0c0f8ba5a62b95c2313e713 (diff) | |
download | samba-7ae14ed6662d4d8fb0034931dcac34d3c032d5dd.tar.gz samba-7ae14ed6662d4d8fb0034931dcac34d3c032d5dd.tar.bz2 samba-7ae14ed6662d4d8fb0034931dcac34d3c032d5dd.zip |
pidl:NDR/Parser: use '0' instead of 'NULL' for an uint32_t value
metze
Diffstat (limited to 'pidl/lib/Parse/Pidl')
-rw-r--r-- | pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm index e2c901253d..e80a77895e 100644 --- a/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm +++ b/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm @@ -1215,7 +1215,7 @@ sub ParsePtrPull($$$$$) } elsif ($l->{POINTER_TYPE} eq "ignore") { #We want to consume the pointer bytes, but ignore the pointer value $self->pidl("NDR_CHECK(ndr_pull_uint3264(ndr, NDR_SCALARS, &_ptr_$e->{NAME}));"); - $self->pidl("_ptr_$e->{NAME} = NULL;"); + $self->pidl("_ptr_$e->{NAME} = 0;"); } else { die("Unhandled pointer type $l->{POINTER_TYPE}"); } |