diff options
author | David Mitchell <davem@iabyn.com> | 2016-03-14 15:24:35 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2016-03-14 15:45:43 +0000 |
commit | c708944da37fda4c2faf03aeddc9c9e5983ec407 (patch) | |
tree | f1febf451177324363c8256f0805d48569138af9 /os2 | |
parent | eb8fc9fea6fb514b7cdb298a1585178a7fdd0a5e (diff) | |
download | perl-c708944da37fda4c2faf03aeddc9c9e5983ec407.tar.gz |
HOPBACKc(pos, off): silence compiler warning
This macro does (amongst other things)
reghopmaybe3(..., -off, ...)
When passed an off that is unsigned (e.g. prog->gofs, which is STRLEN),
The MSWin32 smoker complains:
..\regexec.c(2939) : warning C4146: unary minus operator applied to
unsigned type, result still unsigned
Chane the arg to (SSize_t)0-off and hope that integer conversion rules
make the expression legal.
Diffstat (limited to 'os2')
0 files changed, 0 insertions, 0 deletions