diff options
Diffstat (limited to 'src/svm/ssvm.c')
-rw-r--r-- | src/svm/ssvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svm/ssvm.c b/src/svm/ssvm.c index 03451e66d15..7fa9b258729 100644 --- a/src/svm/ssvm.c +++ b/src/svm/ssvm.c @@ -248,7 +248,7 @@ ssvm_master_init_memfd (ssvm_private_t * memfd) memfd->my_pid = getpid (); memfd->i_am_master = 1; - page_size = 1 << alloc.log2_page_size; + page_size = 1ull << alloc.log2_page_size; sh = memfd->sh; sh->master_pid = memfd->my_pid; sh->ssvm_size = memfd->ssvm_size; |