summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--op.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.h b/op.h
index c1800df828..286b880866 100644
--- a/op.h
+++ b/op.h
@@ -457,7 +457,7 @@ struct pmop {
# define PmopSTASH_set(o,hv) \
(assert_((o)->op_pmflags & PMf_ONCE) \
(o)->op_pmstashstartu.op_pmstashoff = \
- (hv) ? alloccopstash(hv) : NULL)
+ (hv) ? alloccopstash(hv) : 0)
#else
# define PmopSTASH(o) \
(((o)->op_pmflags & PMf_ONCE) ? (o)->op_pmstashstartu.op_pmstash : NULL)