* grub-core/kern/ia64/dl_helper.c (grub_ia64_set_immu64): Make constant
unsigned.  This change was also done in Binutils, where this code
originates from, in commit 108f6f97bd862e969f898c1347903ae1cf38ead4.

Signed-off-by: Collin Funk <collin.fu...@gmail.com>
---
 grub-core/kern/ia64/dl_helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grub-core/kern/ia64/dl_helper.c b/grub-core/kern/ia64/dl_helper.c
index 05a0a68db..e60552f1a 100644
--- a/grub-core/kern/ia64/dl_helper.c
+++ b/grub-core/kern/ia64/dl_helper.c
@@ -46,7 +46,7 @@ grub_ia64_set_immu64 (grub_addr_t addr, grub_uint64_t val)
      slot 2: bits 23..63 in t1 */
 
   /* First, clear the bits that form the 64 bit constant.  */
-  t0 &= ~(0x3ffffLL << 46);
+  t0 &= ~(0x3ffffULL << 46);
   t1 &= ~(0x7fffffLL
          | ((  (0x07fLL << 13) | (0x1ffLL << 27)
                | (0x01fLL << 22) | (0x001LL << 21)
-- 
2.49.0


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to