diff options
-rw-r--r-- | src/datatype.c | 2 | ||||
-rw-r--r-- | src/meta.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/datatype.c b/src/datatype.c index c4e66c46..743505de 100644 --- a/src/datatype.c +++ b/src/datatype.c @@ -1384,7 +1384,7 @@ static void cgroupv2_type_print(const struct expr *expr, if (cgroup_path) nft_print(octx, "\"%s\"", cgroup_path); else - nft_print(octx, "%lu", id); + nft_print(octx, "%" PRIu64, id); xfree(cgroup_path); } @@ -408,7 +408,7 @@ static void date_type_print(const struct expr *expr, struct output_ctx *octx) * Do our own printing. The default print function will print in * nanoseconds, which is ugly. */ - nft_print(octx, "%lu", tstamp); + nft_print(octx, "%" PRIu64, tstamp); } static time_t parse_iso_date(const char *sym) |