From 8c314d50923305b2a1cf265a81deb3fc9b370b3d Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Sat, 5 Jun 2021 20:03:06 +0300 Subject: [PATCH] ksmserver: replace use of internal __uint16_t with public uint16_t type fixes build on host with musl C library Signed-off-by: Ivailo Monev --- ksmserver/fadeeffect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ksmserver/fadeeffect.cpp b/ksmserver/fadeeffect.cpp index b2eb7a33..f1daaf67 100644 --- a/ksmserver/fadeeffect.cpp +++ b/ksmserver/fadeeffect.cpp @@ -237,7 +237,7 @@ void scanline_blend_sse2(const __m128i *over, const quint8 a, const __m128i *und __m128i *result, uint length) { length = (length + 15) >> 4; - const __m128i alpha = _mm_set1_epi16(__uint16_t (a)); + const __m128i alpha = _mm_set1_epi16(uint16_t (a)); const __m128i negalpha = _mm_xor_si128(alpha, _mm_set1_epi16 (0x00ff)); for (uint i = 0; i < length; i++)