diff options
author | TAKAI Kousuke <62541129+t-a-k@users.noreply.github.com> | 2022-10-26 23:59:10 +0900 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-11-02 09:26:46 -0600 |
commit | fce4124fa70860bf2675923721139e9b376b0856 (patch) | |
tree | 3c8d964b26a289b75c497e886fef9cee8414e3a6 /peep.c | |
parent | b6990aaa91d25c6b5dd6bbd1ec6479e4dbd6cd8c (diff) | |
download | perl-fce4124fa70860bf2675923721139e9b376b0856.tar.gz |
op.c: Add a cast to silence -Wsign-compare warning
In 32-bit build (where IV is not wider than U32), comparing
PL_eval_begin_nest_depth and max_nest_iv would generate a warning:
op.c:10817:42: warning: comparison of integer expressions of different signedness: ‘U32’ {aka ‘long unsigned int’} and ‘IV’ {aka ‘long int’} [-Wsign-compare]
10817 | if (PL_eval_begin_nest_depth >= max_nest_iv) {
| ^~
Diffstat (limited to 'peep.c')
0 files changed, 0 insertions, 0 deletions