]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/eal_common_log.c
doc: add Meson coding style to contributors guide
[dpdk.git] / lib / librte_eal / common / eal_common_log.c
index bed83a402abca1f8156da173ce00b0f41d4f896b..ec8fe23a7f90973e33516bc9866c25554eb29ea5 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <rte_eal.h>
 #include <rte_log.h>
+#include <rte_os_shim.h>
 #include <rte_per_lcore.h>
 
 #include "eal_log.h"
@@ -30,7 +31,7 @@ static struct rte_logs {
        size_t dynamic_types_len;
        struct rte_log_dynamic_type *dynamic_types;
 } rte_logs = {
-       .type = ~0,
+       .type = UINT32_MAX,
        .level = RTE_LOG_DEBUG,
 };