summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-06-30 08:41:51 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-06-30 08:41:51 +0000
commit7d8e7db38dc74a9a7ddcc48566f03f2b6af6f737 (patch)
treeebe6ddf388889b05a174070f1ebb44f5b54e3449 /perl.c
parent3cb9023dc910d8a9abbd8d44e501f6e492155eb5 (diff)
downloadperl-7d8e7db38dc74a9a7ddcc48566f03f2b6af6f737.tar.gz
int is not UV.
p4raw-id: //depot/perl@19890
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl.c b/perl.c
index ef3e205784..a06c162310 100644
--- a/perl.c
+++ b/perl.c
@@ -943,8 +943,8 @@ setuid perl scripts securely.\n");
* --jhi */
char *s;
int i;
- int mask =
- ~(PTRSIZE == 4 ? 3 : PTRSIZE == 8 ? 7 : PTRSIZE == 16 ? 15 : 0);
+ UV mask =
+ ~(UV)(PTRSIZE == 4 ? 3 : PTRSIZE == 8 ? 7 : PTRSIZE == 16 ? 15 : 0);
/* See if all the arguments are contiguous in memory.
* Note that 'contiguous' is a loose term because some