void-packages/srcpkgs/beignet/patches/musl.patch

12 lines
385 B
Diff

--- backend/src/backend/gen/gen_mesa_disasm.c
+++ backend/src/backend/gen/gen_mesa_disasm.c
@@ -1137,7 +1137,7 @@ static uint32_t __conv_half_to_float(uint16_t h)
// Adjust mantissa so it's normalized (and keep
// track of exponent adjustment)
int e = -1;
- uint m = i.mantissa;
+ unsigned int m = i.mantissa;
do {
e++;
m <<= 1;