summaryrefslogtreecommitdiff
path: root/source4/pidl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-10-06 07:26:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:28 -0500
commit03b634042f937a6085a6cb96a1eb1e302e27c991 (patch)
tree1c2f3f2f4c0d2b4acdea9ba9938ac8eb8fc760ee /source4/pidl
parent4812a5d3fd394cf1fdbba1eb01bb0d0b3b171628 (diff)
downloadsamba-03b634042f937a6085a6cb96a1eb1e302e27c991.tar.gz
samba-03b634042f937a6085a6cb96a1eb1e302e27c991.tar.bz2
samba-03b634042f937a6085a6cb96a1eb1e302e27c991.zip
r10761: we need to use a pointer to a nbt_name to fix compiler warnings, because we can
only use a pointers to unknown types in proto.h metze (This used to be commit 2f46e54e1bcf43f1bee062ff9a21e646cc3676e9)
Diffstat (limited to 'source4/pidl')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Typelist.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Typelist.pm b/source4/pidl/lib/Parse/Pidl/Typelist.pm
index 111ce9ba11..67e348c5fe 100644
--- a/source4/pidl/lib/Parse/Pidl/Typelist.pm
+++ b/source4/pidl/lib/Parse/Pidl/Typelist.pm
@@ -129,8 +129,8 @@ my $scalars = {
IS_REFERENCE => 1,
},
"wrepl_nbt_name"=> {
- C_TYPE => "struct nbt_name",
- IS_REFERENCE => 0,
+ C_TYPE => "struct nbt_name *",
+ IS_REFERENCE => 1,
},
"ipv4address" => {
C_TYPE => "const char *",