From 024864926b1de278d6877a0864c1ca36f35c20e6 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 22 May 2026 19:23:23 +0200 Subject: bplist: Use format macro to use correct format in error message --- src/bplist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/bplist.c b/src/bplist.c index 1187c7a..7b08532 100644 --- a/src/bplist.c +++ b/src/bplist.c @@ -854,7 +854,7 @@ static plist_t parse_bin_node_at_index(struct bplist_data *bplist, uint32_t node uint64_t node_offset = UINT_TO_HOST(idx_ptr, bplist->offset_size); if (node_offset > (uint64_t)bplist->size) { - PLIST_BIN_ERR("node offset overflow (%llu)\n", node_offset); + PLIST_BIN_ERR("node offset overflow (%" PRIu64 ")\n", node_offset); bplist->err = PLIST_ERR_PARSE; return NULL; } -- cgit v1.1-32-gdbae