summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c
index 89cd86d..068f2dd 100644
--- a/src/common.c
+++ b/src/common.c
@@ -564,7 +564,7 @@ uint64_t _plist_dict_get_uint(plist_t dict, const char *key)
uint64_t strsz = 0;
plist_t node = plist_dict_get_item(dict, key);
if (!node) {
- return (uint64_t)-1LL;
+ return uintval;
}
switch (plist_get_node_type(node)) {
case PLIST_UINT: