summaryrefslogtreecommitdiffstats
path: root/courgette/image_info_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'courgette/image_info_unittest.cc')
-rw-r--r--courgette/image_info_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/courgette/image_info_unittest.cc b/courgette/image_info_unittest.cc
index bf0ca6e..377b95b 100644
--- a/courgette/image_info_unittest.cc
+++ b/courgette/image_info_unittest.cc
@@ -64,7 +64,7 @@ void ImageInfoTest::TestExe() const {
EXPECT_EQ(file1.length(), info->length());
ExpectExecutable(info.get());
- EXPECT_EQ(449536, info->size_of_code());
+ EXPECT_EQ(449536U, info->size_of_code());
EXPECT_EQ(SectionName(info->RVAToSection(0x00401234 - 0x00400000)),
std::string(".text"));
@@ -97,7 +97,7 @@ void ImageInfoTest::TestResourceDll() const {
EXPECT_TRUE(info->ok());
EXPECT_FALSE(info->has_text_section());
- EXPECT_EQ(0u, info->size_of_code());
+ EXPECT_EQ(0U, info->size_of_code());
}
TEST_F(ImageInfoTest, All) {