about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2019-06-07T08·25+0200
committerChristoph Cullmann <cullmann@kde.org>2019-06-07T08·25+0200
commit8717fd7fbb6999a258a062f8022d12e166fa46cb (patch)
treebdc97c9114ee3109b7c9365629248a9b11f87454
parent61c9bf3e3e1c28a4aa6d7f1be4b37fd473bb5529 (diff)
fix C4245 compiler warning of visual studio
allows to use abseil headers in code requiring stricter warnings
-rw-r--r--absl/container/internal/raw_hash_set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/container/internal/raw_hash_set.h b/absl/container/internal/raw_hash_set.h
index 02030bd1a328..c4889cd47506 100644
--- a/absl/container/internal/raw_hash_set.h
+++ b/absl/container/internal/raw_hash_set.h
@@ -350,7 +350,7 @@ struct GroupSse2Impl {
     return BitMask<uint32_t, kWidth>(
         _mm_movemask_epi8(_mm_sign_epi8(ctrl, ctrl)));
 #else
-    return Match(kEmpty);
+    return Match(static_cast<h2_t>(kEmpty));
 #endif
   }