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

Unified Diff: net/base/file_stream_context.h

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/file_stream_context.h
diff --git a/net/base/file_stream_context.h b/net/base/file_stream_context.h
index 5493e251c66a2d2bf6b66a3fc7a63e09608c4713..82a2412f2c659c9ecceecb7232af7f6970a8b308 100644
--- a/net/base/file_stream_context.h
+++ b/net/base/file_stream_context.h
@@ -100,11 +100,11 @@ class FileStream::Context {
private:
struct IOResult {
IOResult();
- IOResult(int64 result, int os_error);
- static IOResult FromOSError(int64 os_error);
+ IOResult(int64 result, logging::SystemErrorCode os_error);
+ static IOResult FromOSError(logging::SystemErrorCode os_error);
int64 result;
- int os_error; // Set only when result < 0.
+ logging::SystemErrorCode os_error; // Set only when result < 0.
};
struct OpenResult {

Powered by Google App Engine
This is Rietveld 408576698