ext/spandx/spandx.c in spandx-0.13.1 vs ext/spandx/spandx.c in spandx-0.13.2
- old
+ new
@@ -18,10 +18,10 @@
p = RSTRING_PTR(line);
if (*p != '"') return Qnil;
const VALUE items = rb_ary_new2(3);
const char *s, *n;
- const int len = RSTRING_LEN(line);
+ const long len = RSTRING_LEN(line);
enum { open, closed } state = closed;
for (int i = 0; i < len && *p; i++) {
if (*p == '"') {
n = p;