diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2006-09-21 12:08:47 +0300 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-09-21 07:54:10 +0000 |
commit | b57a0404d6b6347be89474e64fcdac6ac6ea98db (patch) | |
tree | acdc5f5e654b84d9d6ecc8464e9ca179e7c71359 /reentr.c | |
parent | fab43c1bb262944cb8f1d820af87e47b89cd3e12 (diff) | |
download | perl-b57a0404d6b6347be89474e64fcdac6ac6ea98db.tar.gz |
deal with some gcc warnings
Message-ID: <45122C6F.9080904@iki.fi>
p4raw-id: //depot/perl@28877
Diffstat (limited to 'reentr.c')
-rw-r--r-- | reentr.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -44,7 +44,7 @@ Perl_reentrant_size(pTHX) { #ifdef HAS_GETGRNAM_R # if defined(HAS_SYSCONF) && defined(_SC_GETGR_R_SIZE_MAX) && !defined(__GLIBC__) PL_reentrant_buffer->_grent_size = sysconf(_SC_GETGR_R_SIZE_MAX); - if (PL_reentrant_buffer->_grent_size == -1) + if ((IV)PL_reentrant_buffer->_grent_size == (IV)-1) PL_reentrant_buffer->_grent_size = REENTRANTUSUALSIZE; # else # if defined(__osf__) && defined(__alpha) && defined(SIABUFSIZ) @@ -79,7 +79,7 @@ Perl_reentrant_size(pTHX) { #ifdef HAS_GETPWNAM_R # if defined(HAS_SYSCONF) && defined(_SC_GETPW_R_SIZE_MAX) && !defined(__GLIBC__) PL_reentrant_buffer->_pwent_size = sysconf(_SC_GETPW_R_SIZE_MAX); - if (PL_reentrant_buffer->_pwent_size == -1) + if ((IV)PL_reentrant_buffer->_pwent_size == (IV)-1) PL_reentrant_buffer->_pwent_size = REENTRANTUSUALSIZE; # else # if defined(__osf__) && defined(__alpha) && defined(SIABUFSIZ) @@ -101,7 +101,7 @@ Perl_reentrant_size(pTHX) { #ifdef HAS_GETSPNAM_R # if defined(HAS_SYSCONF) && defined(_SC_GETPW_R_SIZE_MAX) && !defined(__GLIBC__) PL_reentrant_buffer->_spent_size = sysconf(_SC_GETPW_R_SIZE_MAX); - if (PL_reentrant_buffer->_spent_size == -1) + if ((IV)PL_reentrant_buffer->_spent_size == (IV)-1) PL_reentrant_buffer->_spent_size = REENTRANTUSUALSIZE; # else # if defined(__osf__) && defined(__alpha) && defined(SIABUFSIZ) |