]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/eal_internal_cfg.h
eal: fix build for 32-bit system
[dpdk.git] / lib / librte_eal / common / eal_internal_cfg.h
index aac6abf4a030f10724f01d43b0d3a227d17b2082..e2ecb0d0f09caa08955f61181bf5427eaf6cc517 100644 (file)
@@ -49,7 +49,7 @@
  * mount points of hugepages
  */
 struct hugepage_info {
-       size_t hugepage_sz;   /**< size of a huge page */
+       uint64_t hugepage_sz;   /**< size of a huge page */
        const char *hugedir;    /**< dir where hugetlbfs is mounted */
        uint32_t num_pages[RTE_MAX_NUMA_NODES];
                                /**< number of hugepages of that size on each socket */