summaryrefslogtreecommitdiff
path: root/pp.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-08-29 08:56:15 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-29 08:56:15 +0000
commitc5a0f51aeadf6b8a7ed259c017c10b71dbc08619 (patch)
treec47d27d20129ef24f03229df5eda2427947be4fb /pp.h
parente1341489138a2cd535f7aa4b4d9dde4f07557806 (diff)
downloadperl-c5a0f51aeadf6b8a7ed259c017c10b71dbc08619.tar.gz
Implement 64-bit vec().
p4raw-id: //depot/cfgperl@4035
Diffstat (limited to 'pp.h')
-rw-r--r--pp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pp.h b/pp.h
index c35f9677d4..ec701f3054 100644
--- a/pp.h
+++ b/pp.h
@@ -67,7 +67,7 @@
#define POPul ((unsigned long)SvIVx(POPs))
#ifdef HAS_QUAD
#define POPq ((Quad_t)SvIVx(POPs))
-#define POPuq ((Uquad_t)SvIVx(POPs))
+#define POPuq ((Uquad_t)SvUVx(POPs))
#endif
#define TOPs (*sp)
@@ -77,10 +77,10 @@
#define TOPi ((IV)SvIV(TOPs))
#define TOPu ((UV)SvUV(TOPs))
#define TOPl ((long)SvIV(TOPs))
-#define TOPul ((unsigned long)SvIV(TOPs))
+#define TOPul ((unsigned long)SvUV(TOPs))
#ifdef HAS_QUAD
#define TOPq ((Quad_t)SvIV(TOPs))
-#define TOPuq ((Uquad_t)SvIV(TOPs))
+#define TOPuq ((Uquad_t)SvUV(TOPs))
#endif
/* Go to some pains in the rare event that we must extend the stack. */