summaryrefslogtreecommitdiff
path: root/reentr.pl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-09-21 12:08:47 +0300
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-09-21 07:54:10 +0000
commitb57a0404d6b6347be89474e64fcdac6ac6ea98db (patch)
treeacdc5f5e654b84d9d6ecc8464e9ca179e7c71359 /reentr.pl
parentfab43c1bb262944cb8f1d820af87e47b89cd3e12 (diff)
downloadperl-b57a0404d6b6347be89474e64fcdac6ac6ea98db.tar.gz
deal with some gcc warnings
Message-ID: <45122C6F.9080904@iki.fi> p4raw-id: //depot/perl@28877
Diffstat (limited to 'reentr.pl')
-rw-r--r--reentr.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/reentr.pl b/reentr.pl
index 13cf4d1087..094a83cbd7 100644
--- a/reentr.pl
+++ b/reentr.pl
@@ -547,7 +547,7 @@ EOF
push @size, <<EOF;
# if defined(HAS_SYSCONF) && defined($sc) && !defined(__GLIBC__)
PL_reentrant_buffer->$sz = sysconf($sc);
- if (PL_reentrant_buffer->$sz == -1)
+ if ((IV)PL_reentrant_buffer->$sz == (IV)-1)
PL_reentrant_buffer->$sz = REENTRANTUSUALSIZE;
# else
# if defined(__osf__) && defined(__alpha) && defined(SIABUFSIZ)