fix C4245 compiler warning of visual studio

allows to use abseil headers in code requiring stricter warnings
This commit is contained in:
Christoph Cullmann 2019-06-07 10:25:28 +02:00
parent 61c9bf3e3e
commit 8717fd7fbb

View file

@ -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
}