fix signed/unsigned nit in reentr.c
authorCraig A. Berry <craigberry@mac.com>
Tue, 4 Jul 2006 21:27:42 +0000 (21:27 +0000)
committerCraig A. Berry <craigberry@mac.com>
Tue, 4 Jul 2006 21:27:42 +0000 (21:27 +0000)
p4raw-id: //depot/perl@28480

reentr.c

index 4dcaf80..6321eb6 100644 (file)
--- a/reentr.c
+++ b/reentr.c
@@ -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 (PL_reentrant_buffer->_grent_size == -1U)
                PL_reentrant_buffer->_grent_size = REENTRANTUSUALSIZE;
 #   else
 #       if defined(__osf__) && defined(__alpha) && defined(SIABUFSIZ)