X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=doio.c;h=8a04766f09586060a890a010cfa85801bfe596ee;hb=46147bce9215db8642f2bdc9a2e9e60e27f046e3;hp=8b9c6b2fa6b8f5c0d0cb5ff1eb3f6f2fa8305548;hpb=2b63cd5cea47e4bc97380284adf9fb0e89f7c10c;p=p5sagit%2Fp5-mst-13.2.git diff --git a/doio.c b/doio.c index 8b9c6b2..8a04766 100644 --- a/doio.c +++ b/doio.c @@ -2317,7 +2317,7 @@ Perl_do_shmio(pTHX_ I32 optype, SV **mark, SV **sp) STRLEN len; const char *mbuf = SvPV_const(mstr, len); - const I32 n = (len > msize) ? msize : len; + const I32 n = ((I32)len > msize) ? msize : (I32)len; Copy(mbuf, shm + mpos, n, char); if (n < msize) memzero(shm + mpos + n, msize - n);