From: Jarkko Hietaniemi Date: Tue, 27 Mar 2001 20:21:38 +0000 (+0000) Subject: Better have a three-element array if one is going to assign X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3d5d53b8d98b0d07bb5d52680efed0e988a1fe89;p=p5sagit%2Fp5-mst-13.2.git 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 --- diff --git a/ext/XS/Typemap/Typemap.xs b/ext/XS/Typemap/Typemap.xs index d0d79d3..7c24c44 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;