Skip to content

Commit 9f536d0

Browse files
committed
fix extract<long> failure coming from linux 64 bit. Linux 64 bit long = 64bits
1 parent 1d393ef commit 9f536d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/tests/Functional/streams/istream_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ void istream_extract_long_impl(streambuf<_CharType> buf)
11971197

11981198
TEST(istream_extract_long)
11991199
{
1200-
istream_extract_long_impl<char, long>(container_buffer<std::string>("123 -567 12000000000"));
1200+
istream_extract_long_impl<char, long>(container_buffer<std::string>("123 -567 120000000000000000000000000000000000000000000000"));
12011201
#ifdef _MS_WINDOWS
12021202
istream_extract_long_impl<wchar_t, long>(container_buffer<std::wstring>(L"123 -567 12000000000"));
12031203
#endif

0 commit comments

Comments
 (0)