diff options
-rw-r--r-- | src/bplist.c | 1 | ||||
-rw-r--r-- | src/plist.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/bplist.c b/src/bplist.c index 8927de6..c0d0fc8 100644 --- a/src/bplist.c +++ b/src/bplist.c @@ -896,6 +896,7 @@ static unsigned int plist_data_hash(const void* key) switch (data->type) { case PLIST_BOOLEAN: + case PLIST_NULL: case PLIST_INT: case PLIST_REAL: case PLIST_DATE: diff --git a/src/plist.c b/src/plist.c index 5d06311..b120046 100644 --- a/src/plist.c +++ b/src/plist.c @@ -1130,6 +1130,7 @@ int plist_data_compare(const void *a, const void *b) switch (val_a->type) { case PLIST_BOOLEAN: + case PLIST_NULL: case PLIST_INT: case PLIST_REAL: case PLIST_DATE: |