summaryrefslogtreecommitdiff
path: root/ext/XS
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-03-27 20:21:38 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-03-27 20:21:38 +0000
commit3d5d53b8d98b0d07bb5d52680efed0e988a1fe89 (patch)
tree868d77bb75e41ed52f7c579862f77137c40cf582 /ext/XS
parentd5ce4a7cd9d16a6d235e1b45a0768034bbdac1f0 (diff)
downloadperl-3d5d53b8d98b0d07bb5d52680efed0e988a1fe89.tar.gz
Better have a three-element array if one is going to assign
to the third element of that array. (from Tim Jenness) p4raw-id: //depot/perl@9388
Diffstat (limited to 'ext/XS')
-rw-r--r--ext/XS/Typemap/Typemap.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/XS/Typemap/Typemap.xs b/ext/XS/Typemap/Typemap.xs
index d0d79d3f0e..7c24c447c1 100644
--- a/ext/XS/Typemap/Typemap.xs
+++ b/ext/XS/Typemap/Typemap.xs
@@ -632,7 +632,7 @@ T_OPAQUE_array( a,b,c)
int b
int c
PREINIT:
- int array[2];
+ int array[3];
CODE:
array[0] = a;
array[1] = b;