diff options
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/spandx/spandx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spandx/spandx.c b/ext/spandx/spandx.c index 29c7006..a2f6393 100644 --- a/ext/spandx/spandx.c +++ b/ext/spandx/spandx.c @@ -20,7 +20,7 @@ static VALUE parse(VALUE self, VALUE line) 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++) { |
