summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-03-01 18:11:09 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-03-01 18:11:09 +0000
commitf320eb4167c8aebaa20dea40f0d912aa4ecc4c86 (patch)
tree4a9b2a8d05c9cce8d35acf4cf6e49b1431249a1e /sv.c
parent19a08b3d31a2087ec6000e426f32be2be2069169 (diff)
downloadperl-f320eb4167c8aebaa20dea40f0d912aa4ecc4c86.tar.gz
A further patch from Spider Boardman for long doubleness.
p4raw-id: //depot/cfgperl@5407
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sv.c b/sv.c
index 7bb1fdd23f..2aa08c0431 100644
--- a/sv.c
+++ b/sv.c
@@ -6230,8 +6230,9 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV
*--eptr = c;
#ifdef USE_LONG_DOUBLE
{
- char* p = PERL_PRIfldbl + sizeof(PERL_PRIfldbl) - 3;
- while (p >= PERL_PRIfldbl) { *--eptr = *p--; }
+ char const my_prifldbl[] = PERL_PRIfldbl;
+ char const *p = my_prifldbl + sizeof my_prifldbl - 3;
+ while (p >= my_prifldbl) { *--eptr = *p--; }
}
#endif
if (has_precis) {