diff options
author | Aaron Crane <arc@cpan.org> | 2017-10-17 17:30:18 +0100 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2017-10-21 16:52:42 +0100 |
commit | 03f3961765f87fb8bccb4e3fa5b9e2e533d7dc30 (patch) | |
tree | 55b5dd025f714d184362ce7005c15fc15fdbc941 /sv.c | |
parent | 346712be0b77cf7a59cff19c5b96533d9a780268 (diff) | |
download | perl-03f3961765f87fb8bccb4e3fa5b9e2e533d7dc30.tar.gz |
Use snprintf() in favour of sprintf()
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13210,7 +13210,7 @@ Perl_sv_vcatpvfn_flags(pTHX_ SV *const sv, const char *const pat, const STRLEN p ? my_snprintf(PL_efloatbuf, PL_efloatsize, ptr, fv) : my_snprintf(PL_efloatbuf, PL_efloatsize, ptr, (double)fv)); #else - elen = my_sprintf(PL_efloatbuf, ptr, fv); + elen = my_snprintf(PL_efloatbuf, PL_efloatsize, ptr, fv); #endif GCC_DIAG_RESTORE; } |