aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra')
-rw-r--r--src/vppinfra/linux/mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/linux/mem.c b/src/vppinfra/linux/mem.c
index d86402a9b16..5826a6a7e49 100644
--- a/src/vppinfra/linux/mem.c
+++ b/src/vppinfra/linux/mem.c
@@ -347,7 +347,7 @@ clib_mem_vm_ext_free (clib_mem_vm_alloc_t * a)
uword
clib_mem_vm_reserve (uword start, uword size, u32 log2_page_sz)
{
- uword off, pagesize = 1 << log2_page_sz;
+ uword off, pagesize = 1ULL << log2_page_sz;
int mmap_flags = MAP_PRIVATE | MAP_ANONYMOUS;
u8 *p;