diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-07-10 10:11:22 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-07-10 10:11:22 +0000 |
commit | 46147bce9215db8642f2bdc9a2e9e60e27f046e3 (patch) | |
tree | cfd35c751cabb4414df52d2d958bf36e13624376 /doio.c | |
parent | 2b63cd5cea47e4bc97380284adf9fb0e89f7c10c (diff) | |
download | perl-46147bce9215db8642f2bdc9a2e9e60e27f046e3.tar.gz |
Fix a signed/unsigned warning
p4raw-id: //depot/perl@28523
Diffstat (limited to 'doio.c')
-rw-r--r-- | doio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |