vppinfra: fix coverity warnings
Type: fix
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I654747d618cc4fe99b7774827303769fe43392ed
diff --git a/src/vppinfra/mem.h b/src/vppinfra/mem.h
index a94b66a..ca8161a 100644
--- a/src/vppinfra/mem.h
+++ b/src/vppinfra/mem.h
@@ -543,7 +543,7 @@
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 *