From a40364218d3155403bcaccce01c8a70523c2e29c Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Thu, 20 Jun 2019 00:32:54 +0200 Subject: pc64: fix compiler warning in rebootjump() entry calculation --- sys/src/9/pc64/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/9/pc64/main.c b/sys/src/9/pc64/main.c index dd9e2d8f2..479141637 100644 --- a/sys/src/9/pc64/main.c +++ b/sys/src/9/pc64/main.c @@ -398,7 +398,7 @@ reboot(void *entry, void *code, ulong size) /* shutdown devices */ chandevshutdown(); - rebootjump((uintptr)entry & ~0xF0000000UL, PADDR(code), size); + rebootjump((uintptr)entry & -0x10000000, PADDR(code), size); } /* -- cgit v1.2.3