diff options
| author | Can Eldem <eldemcan@users.noreply.github.com> | 2020-05-18 10:04:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-18 10:04:25 +0100 |
| commit | baa882c452ea6311b4c934ca388e04757c7c436d (patch) | |
| tree | 2322da54fb505427915c65f296eb1a88afdd533b /ext | |
| parent | 6b392af62854d28b9f12fe292e21b79baa25c63b (diff) | |
| parent | f1cbf51f1a185d70c45959c3e2199b29ccbacd1d (diff) | |
Merge pull request #20 from spandx/bugs-bunnyv0.13.2
Fix bugs.
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++) { |
