From e1f852150d5d3794f32c0ee0fc8314dcb7d2f499 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 18 Jan 2019 22:20:05 +0100 Subject: bplist: Silence compiler warning 'comparison is always true ...' (32 bit) --- 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 679a5e5..e0e7622 100644 --- a/src/bplist.c +++ b/src/bplist.c @@ -1199,7 +1199,7 @@ PLIST_API void plist_to_bin(plist_t plist, char **plist_bin, uint32_t * length) offset_table_index = 0; //unknown yet //figure out the storage size required - size_t req = 0; + uint64_t req = 0; for (i = 0; i < num_objects; i++) { node_t* node = ptr_array_index(objects, i); -- cgit v1.1-32-gdbae