From 4cca8242d252cc640e3b2d5a32d9b27fe615e044 Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Tue, 27 Jan 2015 12:56:15 -0500 Subject: [PATCH] Bug 1126301 follow-up: Fix a signed/unsigned comparison fatal warning, landed on a CLOSED TREE --- xpcom/tests/gtest/TestUTF.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpcom/tests/gtest/TestUTF.cpp b/xpcom/tests/gtest/TestUTF.cpp index 621c1d27b8a..99a44885780 100644 --- a/xpcom/tests/gtest/TestUTF.cpp +++ b/xpcom/tests/gtest/TestUTF.cpp @@ -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