2015-11-12 06:04, Jianfeng Tan: > - alignment = region[idx].blksz; > - munmap((void *)(uintptr_t) > - RTE_ALIGN_FLOOR( > - region[idx].mapped_address, alignment), > - RTE_ALIGN_CEIL( > - region[idx].mapped_size, alignment)); > + munmap((void *)region[idx].mapped_address, > + region[idx].mapped_size);
Sorry, it does not compile for 32-bit: virtio-net-user.c:84:11: error: cast to pointer from integer of different size