Fix warnings in VS 16.7.2

This commit is contained in:
Serge Lamikhov-Center 2020-08-19 07:56:10 +03:00
parent 3d007e35a4
commit 2cf9fdd64a

View File

@ -273,7 +273,7 @@ BOOST_AUTO_TEST_CASE( load32 )
note_section_accessor notes( reader, sec ); note_section_accessor notes( reader, sec );
BOOST_CHECK_EQUAL( notes.get_notes_num(), 1 ); BOOST_CHECK_EQUAL( notes.get_notes_num(), 1u );
checkNote( notes, 0, 1, std::string( "GNU" ), 16 ); checkNote( notes, 0, 1, std::string( "GNU" ), 16 );
} }
@ -382,7 +382,7 @@ BOOST_AUTO_TEST_CASE( load64 )
note_section_accessor notes( reader, sec ); note_section_accessor notes( reader, sec );
BOOST_CHECK_EQUAL( notes.get_notes_num(), 1 ); BOOST_CHECK_EQUAL( notes.get_notes_num(), 1u );
checkNote( notes, 0, 1, std::string( "GNU" ), 16 ); checkNote( notes, 0, 1, std::string( "GNU" ), 16 );
} }
@ -693,11 +693,12 @@ BOOST_AUTO_TEST_CASE( test_ppc )
note_section_accessor notes( reader, sec ); note_section_accessor notes( reader, sec );
BOOST_CHECK_EQUAL( notes.get_notes_num(), 1 ); BOOST_CHECK_EQUAL( notes.get_notes_num(), 1u );
checkNote( notes, 0, 1, std::string( "GNU" ), 16 ); checkNote( notes, 0, 1, std::string( "GNU" ), 16 );
} }
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
BOOST_AUTO_TEST_CASE( test_dummy_out_i386_32 ) BOOST_AUTO_TEST_CASE( test_dummy_out_i386_32 )
{ {