diff --git a/dom/workers/test/gtest/TestReadWrite.cpp b/dom/workers/test/gtest/TestReadWrite.cpp index 9955dec89527..bf85a6031ea2 100644 --- a/dom/workers/test/gtest/TestReadWrite.cpp +++ b/dom/workers/test/gtest/TestReadWrite.cpp @@ -248,7 +248,7 @@ TEST(ServiceWorkerRegistrar, TestWriteData) const mozilla::ipc::ContentPrincipalInfo& cInfo = data[i].principal(); ASSERT_EQ((uint32_t)i, cInfo.appId()); - ASSERT_EQ((uint32_t)(i %2), cInfo.isInBrowserElement()); + ASSERT_EQ((uint32_t)(i % 2), (uint32_t)cInfo.isInBrowserElement()); test.AppendPrintf("spec write %d", i); ASSERT_STREQ(test.get(), cInfo.spec().get()); diff --git a/dom/workers/test/gtest/moz.build b/dom/workers/test/gtest/moz.build index f4386bb40b10..6be8377e9f29 100644 --- a/dom/workers/test/gtest/moz.build +++ b/dom/workers/test/gtest/moz.build @@ -10,7 +10,4 @@ UNIFIED_SOURCES = [ include('/ipc/chromium/chromium-config.mozbuild') -# XXX: We should fix these warnings. -ALLOW_COMPILER_WARNINGS = True - FINAL_LIBRARY = 'xul-gtest'