Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/compiled/RegExp.cpp

Issue 29715695: Noissue - get rid of compiler warnings (Closed) Base URL: github.com:adblockplus/adblockpluscore
Patch Set: Created March 6, 2018, 12:26 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « compiled/subscription/Subscription.cpp ('k') | test/compiled/StringMap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/compiled/RegExp.cpp
diff --git a/test/compiled/RegExp.cpp b/test/compiled/RegExp.cpp
index 324a9ad06b58d14afa45b969cddcba974e482846..0ac09de5dea0954c3877cd053ddce1f6d5f5b20c 100644
--- a/test/compiled/RegExp.cpp
+++ b/test/compiled/RegExp.cpp
@@ -23,7 +23,7 @@ ABP_NS_USING
TEST(TestRegexp, RegExp)
{
auto id = GenerateRegExp(u"[0-9]*"_str, false);
- EXPECT_EQ(id, 0);
+ EXPECT_EQ(0u, id);
EXPECT_FALSE(TestRegExp(id, u"abcd"_str));
EXPECT_TRUE(TestRegExp(id, u"1234"_str));
« no previous file with comments | « compiled/subscription/Subscription.cpp ('k') | test/compiled/StringMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld