Bug 1126301 follow-up: Fix a signed/unsigned comparison fatal warning, landed on a CLOSED TREE

This commit is contained in:
Ehsan Akhgari 2015-01-27 12:56:15 -05:00
parent 083d2492c5
commit 4cca8242d2

View File

@ -114,7 +114,7 @@ TEST(UTF, Hash16)
for (unsigned int i = 0; i < ArrayLength(Malformed8Strings); ++i) {
nsDependentCString str8(Malformed8Strings[i]);
bool err;
EXPECT_EQ(HashUTF8AsUTF16(str8.get(), str8.Length(), &err), 0);
EXPECT_EQ(HashUTF8AsUTF16(str8.get(), str8.Length(), &err), 0u);
EXPECT_FALSE(err);
}
#endif