void-packages/srcpkgs/beignet/patches/musl.patch
maxice8 4562bcf13e beignet: fix llvm6 build.
Closes: #12747 [via git-merge-pr]
2018-03-21 21:51:44 -07:00

11 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;