summaryrefslogtreecommitdiff
path: root/pad.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-12-29 16:20:39 +0000
committerNicholas Clark <nick@ccl4.org>2006-12-29 16:20:39 +0000
commitc8185ac54029b05b732120d080bda5abfdc295d5 (patch)
tree2c28377f5d45d19d649751e3ad3dedb0927be3e7 /pad.c
parent00a0d662747dfcfdcbb26054d0e6d02fd7ef94ed (diff)
downloadperl-c8185ac54029b05b732120d080bda5abfdc295d5.tar.gz
With xlow and xhigh as U32, PAD_MAX shouldn't be IV_MAX, as on a 64 bit
system this can't be stored. p4raw-id: //depot/perl@29639
Diffstat (limited to 'pad.c')
-rw-r--r--pad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pad.c b/pad.c
index cae1c02988..37b056c1bd 100644
--- a/pad.c
+++ b/pad.c
@@ -121,7 +121,7 @@ to be generated in evals, such as
#define PARENT_FAKELEX_FLAGS_set(sv,val) \
STMT_START { ((XPVNV*)SvANY(sv))->xnv_u.xpad_cop_seq.xhigh = (val); } STMT_END
-#define PAD_MAX IV_MAX
+#define PAD_MAX I32_MAX
#ifdef PERL_MAD
void pad_peg(const char* s) {