summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index 2b00d34dff..f1d4db5eec 100644
--- a/scope.c
+++ b/scope.c
@@ -285,7 +285,7 @@ Perl_save_gp(pTHX_ GV *gv, I32 empty)
SSPUSHINT(SvFAKE(gv));
SSPUSHPTR(GvGP(gv));
SSPUSHPTR(SvREFCNT_inc(gv));
- SSPUSHINT(SAVEt_GP);
+ SSPUSHUV(SAVEt_GP);
/* Don't let the localized GV coerce into non-glob, otherwise we would
* not be able to restore GP upon leave from context if that happened */