summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-09-08 19:48:20 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-09-08 19:48:20 +0000
commit90437c8d8811620716cc99372e39bb29a6b65ed6 (patch)
treeb365aa1f6aef6fd7c38dec93f0e87ff78020f485
parent21bbcf2048880336da62f6a373941a2b966fda79 (diff)
downloadperl-90437c8d8811620716cc99372e39bb29a6b65ed6.tar.gz
PADOFFSET is used to cast pointers into integers,
if pointers are 64 bits and U32 32 bits, bad things may happen, or at least warnings issued. p4raw-id: //depot/perl@11949
-rw-r--r--op.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.h b/op.h
index 789ce58794..3158395f77 100644
--- a/op.h
+++ b/op.h
@@ -23,7 +23,7 @@
* which may or may not check number of children).
*/
-typedef U32 PADOFFSET;
+typedef UV PADOFFSET;
#define NOT_IN_PAD ((PADOFFSET) -1)
#ifdef DEBUGGING_OPS