diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-08-28 17:18:41 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:16:52 -0500 |
commit | 1e0cb682635b4a8865cbac139b025b715ee24f8f (patch) | |
tree | bf16660613645a33f13368e81e096ecc00840023 /source4/pidl/lib/Parse | |
parent | 787a4d6f45007b8f04b7d14e347a7122676faff6 (diff) | |
download | samba-1e0cb682635b4a8865cbac139b025b715ee24f8f.tar.gz samba-1e0cb682635b4a8865cbac139b025b715ee24f8f.tar.bz2 samba-1e0cb682635b4a8865cbac139b025b715ee24f8f.zip |
r17889: allocate a valid element where the pointer can point to,
fix c++ warnings
metze
(This used to be commit b15e4c7cfa4df3dc429945e4d330a8a9766eb1a6)
Diffstat (limited to 'source4/pidl/lib/Parse')
-rw-r--r-- | source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm index 912c4b74f9..bf5e8fe441 100644 --- a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm +++ b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm @@ -1122,7 +1122,7 @@ sub ParsePtrPull($$$$) # We allocate an array twice # - once just to indicate that it's there, # - then the real allocation... - pidl "NDR_PULL_ALLOC_SIZE($ndr, $var_name, 1);"; + pidl "NDR_PULL_ALLOC($ndr, $var_name);"; } #pidl "memset($var_name, 0, sizeof($var_name));"; |