summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-01-18 22:20:05 +0100
committerGravatar Nikias Bassen2019-01-18 22:20:05 +0100
commite1f852150d5d3794f32c0ee0fc8314dcb7d2f499 (patch)
tree5578727a6794cdbb608200a99cf0705eb58bf40f
parent3f967317479acc4b98594b4b86a2787cbd2aa1f1 (diff)
downloadlibplist-e1f852150d5d3794f32c0ee0fc8314dcb7d2f499.tar.gz
libplist-e1f852150d5d3794f32c0ee0fc8314dcb7d2f499.tar.bz2
bplist: Silence compiler warning 'comparison is always true ...' (32 bit)
-rw-r--r--src/bplist.c2
1 files changed, 1 insertions, 1 deletions
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);