Change 28536 by [EMAIL PROTECTED] on 2006/07/10 19:12:07
Restoring change #28523 accidentilly reverted with change #28528.
Affected files ...
... //depot/perl/doio.c#340 edit
Differences ...
==== //depot/perl/doio.c#340 (text) ====
Index: perl/doio.c
--- perl/doio.c#339~28533~ 2006-07-10 10:23:02.000000000 -0700
+++ perl/doio.c 2006-07-10 12:12:07.000000000 -0700
@@ -2273,7 +2273,7 @@
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);
End of Patch.