summaryrefslogtreecommitdiff
path: root/warnings.h
diff options
context:
space:
mode:
Diffstat (limited to 'warnings.h')
-rw-r--r--warnings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/warnings.h b/warnings.h
index c8cd9a5a51..5364a519c5 100644
--- a/warnings.h
+++ b/warnings.h
@@ -25,7 +25,7 @@
(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)
/* Warnings Categories added in Perl 5.008 */