diff options
author | Jonathan Beck | 2009-01-29 19:03:48 +0100 |
---|---|---|
committer | Jonathan Beck | 2009-01-29 19:03:48 +0100 |
commit | 23b1e3200833dd79d754e7057ad1a4154f15172e (patch) | |
tree | 332e6cad826272cc8684ff42a58f6ee6f6a6dcc0 /src/bplist.c | |
parent | ddf3e321b10cfabf63e16e7061952465c3055664 (diff) | |
download | libplist-23b1e3200833dd79d754e7057ad1a4154f15172e.tar.gz libplist-23b1e3200833dd79d754e7057ad1a4154f15172e.tar.bz2 |
Remove duplicate uint64_t accessor.
Diffstat (limited to 'src/bplist.c')
-rw-r--r-- | src/bplist.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bplist.c b/src/bplist.c index 67d7f72..0140f88 100644 --- a/src/bplist.c +++ b/src/bplist.c @@ -268,7 +268,7 @@ static plist_t parse_bin_node(char *object, uint8_t dict_size, char **next_objec plist_t size_node = parse_bin_node(object, dict_size, &object); if (plist_get_node_type(size_node) != PLIST_UINT) return NULL; - size = plist_get_node_uint_val(size_node); + plist_get_uint_val(size_node, &size); } return parse_data_node(object, size); @@ -277,7 +277,7 @@ static plist_t parse_bin_node(char *object, uint8_t dict_size, char **next_objec plist_t size_node = parse_bin_node(object, dict_size, &object); if (plist_get_node_type(size_node) != PLIST_UINT) return NULL; - size = plist_get_node_uint_val(size_node); + plist_get_uint_val(size_node, &size); } return parse_string_node(object, size); @@ -286,7 +286,7 @@ static plist_t parse_bin_node(char *object, uint8_t dict_size, char **next_objec plist_t size_node = parse_bin_node(object, dict_size, &object); if (plist_get_node_type(size_node) != PLIST_UINT) return NULL; - size = plist_get_node_uint_val(size_node); + plist_get_uint_val(size_node, &size); } return parse_unicode_node(object, size); @@ -296,7 +296,7 @@ static plist_t parse_bin_node(char *object, uint8_t dict_size, char **next_objec plist_t size_node = parse_bin_node(object, dict_size, &object); if (plist_get_node_type(size_node) != PLIST_UINT) return NULL; - size = plist_get_node_uint_val(size_node); + plist_get_uint_val(size_node, &size); } return parse_array_node(object, size, dict_size); @@ -306,7 +306,7 @@ static plist_t parse_bin_node(char *object, uint8_t dict_size, char **next_objec plist_t size_node = parse_bin_node(object, dict_size, &object); if (plist_get_node_type(size_node) != PLIST_UINT) return NULL; - size = plist_get_node_uint_val(size_node); + plist_get_uint_val(size_node, &size); } return parse_dict_node(object, size, dict_size); default: |