diff options
| author | 2019-12-09 03:15:55 +0100 | |
|---|---|---|
| committer | 2019-12-09 03:15:55 +0100 | |
| commit | 878d0d830584cf04217f9460a5830be5bf23204d (patch) | |
| tree | 044b99d4c297dfafedcbf3fd8a08687386e447a9 | |
| parent | 6dfedfc7185bd8c8a81c78927661beb6e2132af0 (diff) | |
| download | libplist-878d0d830584cf04217f9460a5830be5bf23204d.tar.gz libplist-878d0d830584cf04217f9460a5830be5bf23204d.tar.bz2 | |
bplist: Silence compiler warning
| -rw-r--r-- | src/bplist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bplist.c b/src/bplist.c index ec4ebe2..23e28fe 100644 --- a/src/bplist.c +++ b/src/bplist.c | |||
| @@ -740,8 +740,8 @@ static plist_t parse_bin_node_at_index(struct bplist_data *bplist, uint32_t node | |||
| 740 | } | 740 | } |
| 741 | 741 | ||
| 742 | /* store node_index for current recursion level */ | 742 | /* store node_index for current recursion level */ |
| 743 | if (ptr_array_size(bplist->used_indexes) < bplist->level+1) { | 743 | if ((uint32_t)ptr_array_size(bplist->used_indexes) < bplist->level+1) { |
| 744 | while (ptr_array_size(bplist->used_indexes) < bplist->level+1) { | 744 | while ((uint32_t)ptr_array_size(bplist->used_indexes) < bplist->level+1) { |
| 745 | ptr_array_add(bplist->used_indexes, (void*)(uintptr_t)node_index); | 745 | ptr_array_add(bplist->used_indexes, (void*)(uintptr_t)node_index); |
| 746 | } | 746 | } |
| 747 | } else { | 747 | } else { |
