diff options
author | Peter Zhu <peter@peterzhu.ca> | 2021-04-26 19:14:57 +0000 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2021-04-26 19:26:50 -0400 |
commit | 4f88acc8333218429fddbff2fbbba5152bf00eb7 (patch) | |
tree | 592dea194a2b7f3b8558d0f29a5504138c731e41 /io.rb | |
parent | 6c1e9650893a855fadba456ca15feaaec4c43c6f (diff) | |
download | ruby-4f88acc8333218429fddbff2fbbba5152bf00eb7.tar.gz |
Fix compiler warnings in objspace_dump.c when assertions are turned on
Example:
```
In file included from ../../../include/ruby/defines.h:72,
from ../../../include/ruby/ruby.h:23,
from ../../../gc.h:3,
from ../../../ext/objspace/objspace_dump.c:15:
../../../ext/objspace/objspace_dump.c: In function ‘dump_append_ld’:
../../../ext/objspace/objspace_dump.c:95:26: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
95 | RUBY_ASSERT(required <= width);
| ^~
```
Diffstat (limited to 'io.rb')
0 files changed, 0 insertions, 0 deletions