]> git.pld-linux.org Git - packages/fwupdate.git/blame - fwupdate-overflow.patch
- added overflow patch (avoid implicit overflow warning by using explicit cast)
[packages/fwupdate.git] / fwupdate-overflow.patch
CommitLineData
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); \
This page took 0.054665 seconds and 4 git commands to generate.