diff options
| author | 2019-05-19 00:27:43 +0200 | |
|---|---|---|
| committer | 2019-05-19 00:27:43 +0200 | |
| commit | 23e5a7636bba1565d000adcd4c3debc0788398c5 (patch) | |
| tree | 4b3d51f3e0cfd34a3ea0b21ac87bfc788e3f0022 /include/plist | |
| parent | 08c6143b870167ad29f9c20a298e0f75c986d0ea (diff) | |
| download | libplist-23e5a7636bba1565d000adcd4c3debc0788398c5.tar.gz libplist-23e5a7636bba1565d000adcd4c3debc0788398c5.tar.bz2 | |
plist_array_get_item_index(): return UINT_MAX instead of 0 when node can't be found
Diffstat (limited to 'include/plist')
| -rw-r--r-- | include/plist/plist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/plist/plist.h b/include/plist/plist.h index 263efa8..63e9d84 100644 --- a/include/plist/plist.h +++ b/include/plist/plist.h @@ -247,7 +247,7 @@ extern "C" * Get the index of an item. item must be a member of a #PLIST_ARRAY node. * * @param node the node - * @return the node index + * @return the node index or UINT_MAX if node index can't be determined */ uint32_t plist_array_get_item_index(plist_t node); |
