diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-04-14 12:33:02 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-04-14 12:33:02 (GMT) |
commit | 7cc4ffce36c24596630ca83cd6418869d6383670 (patch) | |
tree | 47202ae216431653edb67ed403010ffb1e42ae28 | |
parent | da55c1ea92474e989e5582b02815936bbf584405 (diff) | |
download | Qt-7cc4ffce36c24596630ca83cd6418869d6383670.zip Qt-7cc4ffce36c24596630ca83cd6418869d6383670.tar.gz Qt-7cc4ffce36c24596630ca83cd6418869d6383670.tar.bz2 |
Compile fix in qdrawhelper_sse2.cpp.
-rw-r--r-- | src/gui/painting/qdrawhelper_sse2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qdrawhelper_sse2.cpp b/src/gui/painting/qdrawhelper_sse2.cpp index fdab95f..c6bd339 100644 --- a/src/gui/painting/qdrawhelper_sse2.cpp +++ b/src/gui/painting/qdrawhelper_sse2.cpp @@ -523,7 +523,7 @@ public: static inline Int32x4 v_toInt(Float32x4 x) { return _mm_cvttps_epi32(x); } - static inline Int32x4 v_greaterOrEqual(Float32x4 a, Float32x4 b) { return (__m128i)_mm_cmpgt_ps(a, b); } + static inline Int32x4 v_greaterOrEqual(Float32x4 a, Float32x4 b) { return _mm_castps_si128(_mm_cmpgt_ps(a, b)); } }; const uint * QT_FASTCALL qt_fetch_radial_gradient_sse2(uint *buffer, const Operator *op, const QSpanData *data, |