diff options
author | Gennadiy Civil <misterg@google.com> | 2018-01-24 21:06:08 (GMT) |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2018-01-24 21:06:08 (GMT) |
commit | b9651c04ef7bfb1fc87fb17c5d8d960d1437cc56 (patch) | |
tree | 6dbd5eed1921e3ee8fb549e0514852d70768482a /googletest | |
parent | 264ba3e68e948bbfa0d563ac921769f64aa94b9d (diff) | |
download | googletest-b9651c04ef7bfb1fc87fb17c5d8d960d1437cc56.zip googletest-b9651c04ef7bfb1fc87fb17c5d8d960d1437cc56.tar.gz googletest-b9651c04ef7bfb1fc87fb17c5d8d960d1437cc56.tar.bz2 |
placating gcc and its overzeauls size comparison warningsrefs/pull/1421/head
Diffstat (limited to 'googletest')
-rw-r--r-- | googletest/test/gtest-printers_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/test/gtest-printers_test.cc b/googletest/test/gtest-printers_test.cc index a8c82a8..e30ce7e 100644 --- a/googletest/test/gtest-printers_test.cc +++ b/googletest/test/gtest-printers_test.cc @@ -1619,7 +1619,7 @@ TEST(IsValidUTF8Test, IllFormedUTF8) { {"\xEE\x80\x80", "\"\\xEE\\x80\\x80\"\n As Text: \"\""} }; - for (int i = 0; i < sizeof(kTestdata)/sizeof(kTestdata[0]); ++i) { + for (int i = 0; i < int(sizeof(kTestdata)/sizeof(kTestdata[0])); ++i) { EXPECT_PRINT_TO_STRING_(kTestdata[i][0], kTestdata[i][1]); } } |