summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch/arm/virtual.c
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/arch/arm/virtual.c')
-rw-r--r--payloads/libpayload/arch/arm/virtual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/arch/arm/virtual.c b/payloads/libpayload/arch/arm/virtual.c
index 867a43b442..cfc7af1d4d 100644
--- a/payloads/libpayload/arch/arm/virtual.c
+++ b/payloads/libpayload/arch/arm/virtual.c
@@ -71,7 +71,7 @@ typedef uint64_t pgd_t;
#define SECTION_SHIFT 30
#define BLOCK_SHIFT 21
#define PAGE_SHIFT 12
-#define PGD_MASK (~0 << PAGE_SHIFT)
+#define PGD_MASK (~0u << PAGE_SHIFT)
static pmd_t *ttb_buff = 0;
static uintptr_t work_block;