Index: third_party/snappy/BUILD.gn |
diff --git a/third_party/snappy/BUILD.gn b/third_party/snappy/BUILD.gn |
index 4af0e81d57d850236dd6a358376b5e4fa04df88d..e8de575e40ea0a6f40c55be53fb58d2fcc71a79b 100644 |
--- a/third_party/snappy/BUILD.gn |
+++ b/third_party/snappy/BUILD.gn |
@@ -31,6 +31,10 @@ |
configs += [ "//build/config/compiler:no_chromium_code" ] |
public_configs = [ ":snappy_config" ] |
+ if (is_win) { |
+ cflags = [ "/wd4018" ] # Signed/unsigned mismatch in comparison. |
+ } |
+ |
if (is_clang) { |
# snappy-stubs-internal.h unapologetically has: using namespace std |
# https://code.google.com/p/snappy/issues/detail?id=70 |