diff options
author | lloyd <[email protected]> | 2010-11-29 16:05:40 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-11-29 16:05:40 +0000 |
commit | 5c5c68106ee2f2ca6b1181ff83aa080bbd9849d8 (patch) | |
tree | 652e065d3e8ab0aaff98cc066f6d28171df02ccd /src/block | |
parent | 1da462a9aa2cc18490b3c271e332ccf5842ef641 (diff) |
Avoid VC cast warning
Diffstat (limited to 'src/block')
-rw-r--r-- | src/block/idea_sse2/idea_sse2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/idea_sse2/idea_sse2.cpp b/src/block/idea_sse2/idea_sse2.cpp index 469a33943..f2c770103 100644 --- a/src/block/idea_sse2/idea_sse2.cpp +++ b/src/block/idea_sse2/idea_sse2.cpp @@ -16,7 +16,7 @@ inline __m128i mul(__m128i X, u16bit K_16) { const __m128i zeros = _mm_set1_epi16(0); const __m128i ones = _mm_set1_epi16(1); - const __m128i high_bit = _mm_set1_epi16(0x8000); + const __m128i high_bit = _mm_set1_epi16(-32767); // 0x8000 const __m128i K = _mm_set1_epi16(K_16); |