diff options
| author | 2026-05-22 19:23:23 +0200 | |
|---|---|---|
| committer | 2026-05-22 19:23:23 +0200 | |
| commit | 024864926b1de278d6877a0864c1ca36f35c20e6 (patch) | |
| tree | 01a10d2050d81764fc28483a473f52b73fc650ea /src | |
| parent | ba82092e43d4769dbc6f0557d58a243f93542486 (diff) | |
| download | libplist-024864926b1de278d6877a0864c1ca36f35c20e6.tar.gz libplist-024864926b1de278d6877a0864c1ca36f35c20e6.tar.bz2 | |
bplist: Use format macro to use correct format in error message
Diffstat (limited to 'src')
| -rw-r--r-- | src/bplist.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
