From a22989a54afd411a8d038110c7df2c545b4121b7 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 9 Aug 2010 19:38:30 +0200 Subject: pidl:NDR: correctly handle no pointer bracket arrays with 'string' metze --- pidl/lib/Parse/Pidl/NDR.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pidl/lib/Parse') diff --git a/pidl/lib/Parse/Pidl/NDR.pm b/pidl/lib/Parse/Pidl/NDR.pm index 20f52bf9d5..2358a25956 100644 --- a/pidl/lib/Parse/Pidl/NDR.pm +++ b/pidl/lib/Parse/Pidl/NDR.pm @@ -125,7 +125,7 @@ sub GetElementLevelTable($$) if ($d eq "*") { $is_conformant = 1; if ($size = shift @size_is) { - if (has_property($e, "string")) { + if ($e->{POINTERS} < 1 and has_property($e, "string")) { $is_string = 1; delete($e->{PROPERTIES}->{string}); } -- cgit