libstdc++: Fix syntax error in old-glibc case in floating_from_chars.cc [PR107562]

PR libstdc++/107562
	* src/c++17/floating_from_chars.cc (from_chars_impl): Fix syntax
	error.
This commit is contained in:
Joseph Myers 2022-11-08 01:39:52 +00:00
parent 431be04b8b
commit 8d0326943e

View file

@ -632,7 +632,7 @@ namespace
{
#ifndef _GLIBCXX_HAVE_FLOAT128_MATH
if (&__strtof128 == nullptr)
tmpval = _Float128(std::strtold(str, &endptr);
tmpval = _Float128(std::strtold(str, &endptr));
else
#endif
tmpval = __strtof128(str, &endptr);