We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5636a2c commit 3fb84fdCopy full SHA for 3fb84fd
src/test/json/big_list_of_naughty_strings.cpp
@@ -17,7 +17,7 @@ std::string get_file_contents( const char* filename )
17
if( in ) {
18
std::string contents;
19
in.seekg( 0, std::ios::end );
20
- contents.resize( in.tellg() );
+ contents.resize( static_cast< std::string::size_type >( in.tellg() ) );
21
in.seekg( 0, std::ios::beg );
22
in.read( &contents[ 0 ], contents.size() );
23
in.close();
0 commit comments