summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bplist.c2
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
854 854
855 uint64_t node_offset = UINT_TO_HOST(idx_ptr, bplist->offset_size); 855 uint64_t node_offset = UINT_TO_HOST(idx_ptr, bplist->offset_size);
856 if (node_offset > (uint64_t)bplist->size) { 856 if (node_offset > (uint64_t)bplist->size) {
857 PLIST_BIN_ERR("node offset overflow (%llu)\n", node_offset); 857 PLIST_BIN_ERR("node offset overflow (%" PRIu64 ")\n", node_offset);
858 bplist->err = PLIST_ERR_PARSE; 858 bplist->err = PLIST_ERR_PARSE;
859 return NULL; 859 return NULL;
860 } 860 }