summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm b/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
index 1fb9c4034f..ac923bef74 100644
--- a/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
+++ b/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
@@ -920,12 +920,12 @@ sub Parse($$$$$)
$self->{res}->{headers} .= "#include \"config.h\"\n";
$self->{res}->{headers} .= "#endif\n\n";
- $res{headers} .= "#ifdef _MSC_VER\n";
- $res{headers} .= "#pragma warning(disable:4005)\n";
- $res{headers} .= "#pragma warning(disable:4013)\n";
- $res{headers} .= "#pragma warning(disable:4018)\n";
- $res{headers} .= "#pragma warning(disable:4101)\n";
- $res{headers} .= "#endif\n\n";
+ $self->{res}->{headers} .= "#ifdef _MSC_VER\n";
+ $self->{res}->{headers} .= "#pragma warning(disable:4005)\n";
+ $self->{res}->{headers} .= "#pragma warning(disable:4013)\n";
+ $self->{res}->{headers} .= "#pragma warning(disable:4018)\n";
+ $self->{res}->{headers} .= "#pragma warning(disable:4101)\n";
+ $self->{res}->{headers} .= "#endif\n\n";
$self->{res}->{headers} .= "#include <glib.h>\n";
$self->{res}->{headers} .= "#include <string.h>\n";