summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index 2aa08c0431..2312eb0433 100644
--- a/sv.c
+++ b/sv.c
@@ -6230,7 +6230,7 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV
*--eptr = c;
#ifdef USE_LONG_DOUBLE
{
- char const my_prifldbl[] = PERL_PRIfldbl;
+ static char const my_prifldbl[] = PERL_PRIfldbl;
char const *p = my_prifldbl + sizeof my_prifldbl - 3;
while (p >= my_prifldbl) { *--eptr = *p--; }
}