From 7ae14ed6662d4d8fb0034931dcac34d3c032d5dd Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 1 Aug 2011 13:00:30 +0200 Subject: pidl:NDR/Parser: use '0' instead of 'NULL' for an uint32_t value metze --- pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pidl') diff --git a/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm index e2c901253de..e80a77895ee 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}"); } -- cgit