llvm-libunwind: fix build

This commit is contained in:
Jürgen Buchmüller 2020-03-04 23:02:12 +01:00
parent 528ff8134c
commit 9e69dff78e

View file

@ -0,0 +1,15 @@
Source: @pullmoll
Upstream: no
Reason: -1ULL is not a signed long long but the result is signed.
--- src/AddressSpace.hpp 2019-05-30 06:40:21.000000000 +0200
+++ src/AddressSpace.hpp 2020-03-04 22:55:16.140731907 +0100
@@ -288,7 +288,7 @@
} while (byte & 0x80);
// sign extend negative numbers
if ((byte & 0x40) != 0)
- result |= (-1ULL) << bit;
+ result |= (-1LL) << bit;
addr = (pint_t) p;
return result;
}