Skip to content

Commit

Permalink
Fix sign-compare warnings in tests (#2554)
Browse files Browse the repository at this point in the history
  • Loading branch information
xinan authored and Teddy Reed committed Sep 28, 2016
1 parent b77c217 commit 101574a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osquery/registry/tests/registry_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ TEST_F(RegistryTests, test_registry_modules) {
RegistryFactory::locked(false);

// Test initializing a module load and the module's registry modifications.
EXPECT_EQ(RegistryFactory::getModule(), 0);
EXPECT_EQ(0U, RegistryFactory::getModule());
RegistryFactory::initModule("/my/test/module");
// The registry is locked, no modifications during module global ctors.
EXPECT_TRUE(RegistryFactory::locked());
Expand Down Expand Up @@ -271,6 +271,6 @@ TEST_F(RegistryTests, test_registry_modules) {
EXPECT_TRUE(RegistryFactory::locked());
// And the registry is no longer using a module.
EXPECT_FALSE(RegistryFactory::usingModule());
EXPECT_EQ(RegistryFactory::getModule(), 0);
EXPECT_EQ(0U, RegistryFactory::getModule());
}
}

0 comments on commit 101574a

Please sign in to comment.