summaryrefslogtreecommitdiff
path: root/warnings.pl
diff options
context:
space:
mode:
Diffstat (limited to 'warnings.pl')
-rw-r--r--warnings.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/warnings.pl b/warnings.pl
index 3c978d1d78..f2380d9dbb 100644
--- a/warnings.pl
+++ b/warnings.pl
@@ -284,7 +284,7 @@ print WARN <<'EOM' ;
(x) == pWARN_NONE)
/* if PL_warnhook is set to this value, then warnings die */
-#define PERL_WARNHOOK_FATAL (((SV*)0) + 1)
+#define PERL_WARNHOOK_FATAL (&PL_sv_placeholder)
EOM
my $offset = 0 ;