summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/mem.h')
-rw-r--r--src/vppinfra/mem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/mem.h b/src/vppinfra/mem.h
index a94b66ae187..ca8161abae5 100644
--- a/src/vppinfra/mem.h
+++ b/src/vppinfra/mem.h
@@ -543,7 +543,7 @@ clib_mem_log2_page_size_validate (clib_mem_page_sz_t log2_page_size)
static_always_inline uword
clib_mem_page_bytes (clib_mem_page_sz_t log2_page_size)
{
- return 1 << clib_mem_log2_page_size_validate (log2_page_size);
+ return 1ULL << clib_mem_log2_page_size_validate (log2_page_size);
}
static_always_inline clib_error_t *