diff options
Diffstat (limited to 'chrome_browser_proxy_resolver_unittest.cc')
-rw-r--r-- | chrome_browser_proxy_resolver_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome_browser_proxy_resolver_unittest.cc b/chrome_browser_proxy_resolver_unittest.cc index 9fa168e9..557fc2e2 100644 --- a/chrome_browser_proxy_resolver_unittest.cc +++ b/chrome_browser_proxy_resolver_unittest.cc @@ -109,7 +109,7 @@ gboolean SendReply(gpointer data) { // chrome. If there's no reply, the resolver should time out. // If chrome_alive is false, assume that sending to chrome fails. void RunTest(bool chrome_replies, bool chrome_alive) { - long number = 1; + intptr_t number = 1; DBusGConnection* kMockSystemGBus = reinterpret_cast<DBusGConnection*>(number++); DBusConnection* kMockSystemBus = @@ -188,7 +188,7 @@ void RunTest(bool chrome_replies, bool chrome_alive) { g_main_loop_run(loop); g_main_loop_unref(loop); } -} // namespace {} +} // namespace TEST(ChromeBrowserProxyResolverTest, SuccessTest) { RunTest(true, true); |