aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/20_util/from_chars/6.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/20_util/from_chars/6.cc')
-rw-r--r--libstdc++-v3/testsuite/20_util/from_chars/6.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/20_util/from_chars/6.cc b/libstdc++-v3/testsuite/20_util/from_chars/6.cc
index 5a97bf6..1e3aa75 100644
--- a/libstdc++-v3/testsuite/20_util/from_chars/6.cc
+++ b/libstdc++-v3/testsuite/20_util/from_chars/6.cc
@@ -39,7 +39,7 @@ test01()
VERIFY( res.ptr == s.data() + s.length() );
// std::from_chars should ignore the current rounding mode
// and always round to nearest.
- VERIFY( d == 0.1 );
+ VERIFY( d == (double) 0.1 );
#endif
#endif
}