git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d23dff
)
pidl:NDR/Parser: use '0' instead of 'NULL' for an uint32_t value
author
Stefan Metzmacher
<metze@samba.org>
Mon, 1 Aug 2011 11:00:30 +0000
(13:00 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 1 Aug 2011 11:44:26 +0000
(13:44 +0200)
metze
pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
patch
|
blob
|
history
diff --git
a/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
b/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
index e2c901253de2352159515b81026fae9b0eb47e17..e80a77895eed629435700f9b4f7d3cffcfc5c7d4 100644
(file)
--- 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}");
}