diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-30 22:02:55 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-30 22:02:55 (GMT) |
commit | dc5930bc812a27e31bf8a0aa2fcf564ed7306a26 (patch) | |
tree | cfdd8df6ed6eeb844e46e1d630692a8a6137fbb9 /generic/tclStrToD.c | |
parent | f8b9e919c954be237c906a708530111607f88081 (diff) | |
parent | 186145578675341deb63fd53e6080896695c3574 (diff) | |
download | tcl-dc5930bc812a27e31bf8a0aa2fcf564ed7306a26.zip tcl-dc5930bc812a27e31bf8a0aa2fcf564ed7306a26.tar.gz tcl-dc5930bc812a27e31bf8a0aa2fcf564ed7306a26.tar.bz2 |
Merge 8.6
Diffstat (limited to 'generic/tclStrToD.c')
-rw-r--r-- | generic/tclStrToD.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c index 206407e..92b2938 100644 --- a/generic/tclStrToD.c +++ b/generic/tclStrToD.c @@ -5341,7 +5341,7 @@ TclFormatNaN( *buffer++ = 'N'; bitwhack.iv &= ((UINT64_C(1)) << 51) - 1; if (bitwhack.iv != 0) { - sprintf(buffer, "(%" PRIx64 ")", bitwhack.iv); + snprintf(buffer, TCL_DOUBLE_SPACE, "(%" PRIx64 ")", bitwhack.iv); } else { *buffer = '\0'; } |