index e911d9a15324050202117cb4c1ffce36b01180ea..07a9cd2a11c7305fc3410c0efb2790f7dd46967b 100644 (file)
int i;
Check_Type(rb_strings, T_ARRAY);
- a.len = RARRAY(rb_strings)->len + 1;
+ a.len = RARRAY_LEN(rb_strings) + 1;
a.strings = malloc(a.len * sizeof(char *));
a.strings[0] = "dummy"; /* first element is a dummy element */