diff options
author | S-H-GAMELINKS <[email protected]> | 2024-10-05 05:54:32 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-10-05 07:45:50 +0900 |
commit | e766cb3e578fcfb3f21dd8f4a95cd4296b704c89 (patch) | |
tree | 379baaf0781879592b91c56db507518c8304fdd8 /internal/io.h | |
parent | 563263a91ceba742277c6f4d2ec1b821388fbceb (diff) |
Suppress warnings in `time_init_parse` function
When building Ruby on Ubuntu 22.04 and GCC 11.4.0, the following warning appeared.
And this change has suppressed warning.
```
compiling ../ruby/time.c
../ruby/time.c: In function ‘time_init_parse’:
../ruby/time.c:2650:21: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2650 | if (ndigits < TIME_SCALE_NUMDIGITS) {
| ^
../ruby/time.c:2654:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2654 | else if (ndigits > TIME_SCALE_NUMDIGITS) {
|
```
Diffstat (limited to 'internal/io.h')
0 files changed, 0 insertions, 0 deletions