summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-07-10 19:12:07 +0000
committerSteve Peters <steve@fisharerojo.org>2006-07-10 19:12:07 +0000
commit027aa12decdb9c925aa7dcd0b4307c73844261d0 (patch)
treeac21605bcf5bdada32405911f345f851de203736 /doio.c
parent0b7042f97f8d0dfccfa892ce74972b0cb267548e (diff)
downloadperl-027aa12decdb9c925aa7dcd0b4307c73844261d0.tar.gz
Restoring change #28523 accidentilly reverted with change #28528.
p4raw-link: @28528 on //depot/perl: 28f0d0ec424c9050a6c7d38541d2e6b5e66fb97c p4raw-link: @28523 on //depot/perl: 46147bce9215db8642f2bdc9a2e9e60e27f046e3 p4raw-id: //depot/perl@28536
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doio.c b/doio.c
index 29b5b19f50..809459feb9 100644
--- a/doio.c
+++ b/doio.c
@@ -2273,7 +2273,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);