ext/ox/dump.c in ox-2.14.0 vs ext/ox/dump.c in ox-2.14.1
- old
+ new
@@ -836,10 +836,10 @@
e.clas.str = rb_class2name(clas);
e.clas.len = strlen(e.clas.str);
out->w_start(out, &e);
for (i = 0; i < cnt; i++) {
- VALUE v = RSTRUCT_GET(obj, i);
+ VALUE v = RSTRUCT_GET(obj, (int)(i));
dump_obj(rb_intern(ulong2str(i, num_buf + sizeof(num_buf) - 1)), v, d2, out);
}
out->w_end(out, &e);
}
#else