summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-10-27 21:41:02 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-27 21:41:02 +0000
commit708fe1ba3fb04bc6d3b1ea26809e80e24d765218 (patch)
tree4711ec18f848dfa2c1aa9971466edfbc69fe7cbc /op.h
parent03ccd19c2d69cac5373dca435e14989aa566a10e (diff)
downloadperl-708fe1ba3fb04bc6d3b1ea26809e80e24d765218.tar.gz
Must store pointers with the right width.
p4raw-id: //depot/perl@12716
Diffstat (limited to 'op.h')
-rw-r--r--op.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/op.h b/op.h
index fcb24a5f41..6a4d0db51b 100644
--- a/op.h
+++ b/op.h
@@ -23,7 +23,11 @@
* which may or may not check number of children).
*/
-typedef UV PADOFFSET;
+#if PTRSIZE == 8
+typedef U64TYPE PADOFFSET;
+#else
+typedef U32TYPE PADOFFSET;
+#endif
#define NOT_IN_PAD ((PADOFFSET) -1)
#ifdef DEBUGGING_OPS