summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Samba4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-07-23 16:15:46 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-07-23 16:15:46 +1000
commit9549ebc2ac25320d5a3dfd2aca66ecc39bbf7ae8 (patch)
treee226831c12ea1ca792cb08dc3eb56a82c3d9fa31 /source4/pidl/lib/Parse/Pidl/Samba4
parentd6fdd13dec854c681ad047d104ccfc2bf0ca5de5 (diff)
parent7fba6c649ba36ca5b76dcfed7b773567c9933077 (diff)
downloadsamba-9549ebc2ac25320d5a3dfd2aca66ecc39bbf7ae8.tar.gz
samba-9549ebc2ac25320d5a3dfd2aca66ecc39bbf7ae8.tar.bz2
samba-9549ebc2ac25320d5a3dfd2aca66ecc39bbf7ae8.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 532ccbbe7aa360440f455dfa136f425b9996e998)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Samba4')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm2
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 0d1806a0fa..a0de1f127a 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
@@ -770,7 +770,7 @@ sub ParseElementPrint($$$$)
} else {
my $counter = "cntr_$e->{NAME}_$l->{LEVEL_INDEX}";
- $self->pidl("ndr->print(ndr, \"\%s: ARRAY(\%d)\", \"$e->{NAME}\", $length);");
+ $self->pidl("ndr->print(ndr, \"\%s: ARRAY(\%d)\", \"$e->{NAME}\", (int)$length);");
$self->pidl("ndr->depth++;");
$self->pidl("for ($counter=0;$counter<$length;$counter++) {");
$self->indent;