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

Unified Diff: net/base/net_errors_win.cc

Issue 760703002: Fix "value possibly truncated" warnings on MSVC, net/base edition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 6 years, 1 month 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
Index: net/base/net_errors_win.cc
diff --git a/net/base/net_errors_win.cc b/net/base/net_errors_win.cc
index 7f27deec7ef4c0f029ea5ea20be9c235584bfeb7..4bc968506ed8c17912b4cc815a252e5a735921bc 100644
--- a/net/base/net_errors_win.cc
+++ b/net/base/net_errors_win.cc
@@ -11,7 +11,7 @@
namespace net {
// Map winsock and system errors to Chromium errors.
-Error MapSystemError(int os_error) {
+Error MapSystemError(logging::SystemErrorCode os_error) {
if (os_error != 0)
DVLOG(2) << "Error " << os_error;

Powered by Google App Engine
This is Rietveld 408576698