Files
systemd/src/basic
Zbigniew Jędrzejewski-Szmek df7f9e0b2c basic/json: silence gcc warning about limited range of data type
With gcc-7.1.1-3.fc26.aarch64:
../src/basic/json.c: In function ‘json_format’:
../src/basic/json.c:1409:40: warning: comparison is always true due to limited range of data type [-Wtype-limits]
                                 if (*q >= 0 && *q < ' ')
                                        ^~
../src/basic/json.c: In function ‘inc_lines_columns’:
../src/basic/json.c:1762:31: warning: comparison is always true due to limited range of data type [-Wtype-limits]
                 } else if (*s >= 0 && *s < 127) /* Process ASCII chars quickly */
                               ^~

Cast to (signed char) silences the warning, but a cast to (int) for some reason
doesn't.
2018-11-15 15:39:06 +01:00
..
2018-06-29 11:02:17 +09:00
2018-09-19 08:02:52 +09:00
2018-09-19 08:02:52 +09:00
2018-06-29 11:02:17 +09:00
2018-10-26 10:52:41 +02:00
2018-10-26 10:52:41 +02:00
2018-06-29 11:02:17 +09:00
2018-06-29 11:02:17 +09:00
2018-06-14 13:03:20 +02:00
2018-06-29 11:02:17 +09:00
…
2018-06-14 13:03:20 +02:00
2018-06-14 13:03:20 +02:00
2018-06-14 13:03:20 +02:00
2018-10-10 10:13:30 +02:00
2018-06-14 13:03:20 +02:00
2018-05-22 16:13:45 +02:00
2018-10-17 01:09:41 +09:00
2018-06-29 11:02:17 +09:00
2018-06-29 11:02:17 +09:00
2018-10-26 10:52:41 +02:00
2018-06-29 11:02:17 +09:00
2018-09-26 16:14:29 +02:00
2018-09-26 16:14:29 +02:00
2018-09-25 15:57:47 +02:00
2018-10-30 23:01:20 +05:30