Skip to content

Commit

Permalink
Fix change-of-sign warnings in ICC 19
Browse files Browse the repository at this point in the history
error qt#68: integer conversion resulted in a change of sign

Change-Id: I4ac1156702324f0fb814fffd156f80962df6b4a7
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
  • Loading branch information
thiagomacieira committed Jan 23, 2019
1 parent df65087 commit 0c007a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/painting/qdrawhelper_sse4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ template<bool RGBA>
static inline void convertARGBFromRGBA64PM_sse4(uint *buffer, const QRgba64 *src, int count)
{
int i = 0;
const __m128i alphaMask = _mm_set1_epi64x(Q_UINT64_C(0xffff) << 48);
const __m128i alphaMask = _mm_set1_epi64x(qint64(Q_UINT64_C(0xffff) << 48));
const __m128i alphaMask32 = _mm_set1_epi32(0xff000000);
const __m128i rgbaMask = _mm_setr_epi8(2, 1, 0, 3, 6, 5, 4, 7, 10, 9, 8, 11, 14, 13, 12, 15);
const __m128i zero = _mm_setzero_si128();
Expand Down

0 comments on commit 0c007a8

Please sign in to comment.