ninjudd-tuple 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION.yml +1 -1
- data/ext/tuple.c +1 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
data/ext/tuple.c
CHANGED
|
@@ -29,7 +29,7 @@ static VALUE tuple_dump(VALUE self, VALUE tuple) {
|
|
|
29
29
|
u_int32_t digit;
|
|
30
30
|
BDIGIT *digits;
|
|
31
31
|
|
|
32
|
-
if (TYPE(tuple) != T_ARRAY) tuple = rb_ary_new4(1, tuple);
|
|
32
|
+
if (TYPE(tuple) != T_ARRAY) tuple = rb_ary_new4(1, &tuple);
|
|
33
33
|
|
|
34
34
|
for (i = 0; i < RARRAY(tuple)->len; i++) {
|
|
35
35
|
item = RARRAY(tuple)->ptr[i];
|