ruby/ext/json
Yusuke Endoh 8bd27c547c ext/json/parser/prereq.mk: remove type-limit warning if char is unsigned
Ragel generates a code `0 <= (*p)` where `*p` is char.
As char is unsigned by default on arm and RISC-V, it is warned by gcc:

```
compiling parser.c
parser.c: In function ‘JSON_parse_string’:
parser.c:1566:2: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  if ( 0 <= (*p) && (*p) <= 31 )
  ^
parser.c:1596:2: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  if ( 0 <= (*p) && (*p) <= 31 )
  ^
```

This change removes the warning by substituting the condition with
`0 <= (signed char)(*p)`.
2020-05-14 00:44:35 +09:00
..
fbuffer Merge json-2.0.4. 2017-04-12 00:21:18 +00:00
generator sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
lib [flori/json] Fix examples syntax 2020-01-06 15:13:35 +09:00
parser ext/json/parser/prereq.mk: remove type-limit warning if char is unsigned 2020-05-14 00:44:35 +09:00
depend Added depend files 2019-07-14 01:31:29 +09:00
extconf.rb * ext/json/**/*.rb: merge original files from upstream repository. 2016-07-14 03:48:54 +00:00
json.gemspec Import json-2.3.0 from flori/json 2019-12-12 09:14:09 +09:00