Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: net/base/network_interfaces_unittest.cc

Issue 1513043002: clang/win: Let remaining chromium_code targets build with -Wextra. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/audio/win/core_audio_util_win_unittest.cc ('k') | net/http/http_auth_sspi_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_interfaces_unittest.cc
diff --git a/net/base/network_interfaces_unittest.cc b/net/base/network_interfaces_unittest.cc
index 06ffb07ee41f72f916c010626a67f6ffb619a0d4..470295f0218590cf3ba94057f0e026a0f1796738 100644
--- a/net/base/network_interfaces_unittest.cc
+++ b/net/base/network_interfaces_unittest.cc
@@ -163,9 +163,10 @@ TEST(NetUtilTest, GetNetworkList) {
if (interface_to_luid && luid_to_guid) {
NET_LUID luid;
- EXPECT_EQ(interface_to_luid(it->interface_index, &luid), NO_ERROR);
+ EXPECT_EQ(static_cast<DWORD>(NO_ERROR),
+ interface_to_luid(it->interface_index, &luid));
GUID guid;
- EXPECT_EQ(luid_to_guid(&luid, &guid), NO_ERROR);
+ EXPECT_EQ(static_cast<DWORD>(NO_ERROR), luid_to_guid(&luid, &guid));
LPOLESTR name;
StringFromCLSID(guid, &name);
EXPECT_STREQ(base::UTF8ToWide(it->name).c_str(), name);
« no previous file with comments | « media/audio/win/core_audio_util_win_unittest.cc ('k') | net/http/http_auth_sspi_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698