diff options
author | Christoph Cullmann <cullmann@kde.org> | 2019-06-07T08·25+0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2019-06-07T08·25+0200 |
commit | 8717fd7fbb6999a258a062f8022d12e166fa46cb (patch) | |
tree | bdc97c9114ee3109b7c9365629248a9b11f87454 /absl/container/internal/raw_hash_set.h | |
parent | 61c9bf3e3e1c28a4aa6d7f1be4b37fd473bb5529 (diff) |
fix C4245 compiler warning of visual studio
allows to use abseil headers in code requiring stricter warnings
Diffstat (limited to 'absl/container/internal/raw_hash_set.h')
-rw-r--r-- | absl/container/internal/raw_hash_set.h | 2 |
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 } |