]>
Commit | Line | Data |
---|---|---|
66bfa4f8 JB |
1 | --- fwupdate-8/efi/fwupdate.c.orig 2016-11-15 16:24:00.862246035 +0100 |
2 | +++ fwupdate-8/efi/fwupdate.c 2016-11-15 16:24:06.562245972 +0100 | |
3 | @@ -44,7 +44,7 @@ | |
4 | #endif | |
5 | #ifndef uintn_mult | |
6 | #define uintn_mult(a, b, c) ({ \ | |
7 | - const UINTN _limit = ~0ULL; \ | |
8 | + const UINTN _limit = (UINTN)~0ULL; \ | |
9 | int _ret = 1; \ | |
10 | if ((a) != 0 && (b) != 0) { \ | |
11 | _ret = _limit / (a) < (b); \ |