DescriptionMake libwebp build with -Wconstant-conversion from newer clangs.
After http://llvm.org/viewvc/llvm-project?rev=259271&view=rev, clang points
out that _mm_set1_epi16(33050) causes an overflow in the short argument to
_mm_set1_epi16(). Since there's no version that takes an unsigned short,
add an explicit cast to tell the compiler that this is intentional.
No behavior change.
BUG=none
R=urvang@chromium.org
Committed: https://crrev.com/3ecb59fbcff8fa062d066c41d4b27ed6ece05403
Cr-Commit-Position: refs/heads/master@{#373004}
Patch Set 1 #
Messages
Total messages: 15 (5 generated)
|