From: Jarkko Hietaniemi Date: Wed, 1 Mar 2000 18:11:09 +0000 (+0000) Subject: A further patch from Spider Boardman for long doubleness. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f320eb4167c8aebaa20dea40f0d912aa4ecc4c86;p=p5sagit%2Fp5-mst-13.2.git A further patch from Spider Boardman for long doubleness. p4raw-id: //depot/cfgperl@5407 --- diff --git a/sv.c b/sv.c index 7bb1fdd..2aa08c0 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) {