summaryrefslogtreecommitdiffstats
path: root/src/plist.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-01-31 02:35:15 +0100
committerGravatar Nikias Bassen2023-01-31 02:35:15 +0100
commit4b50a5acf1e26ff44904d5e533ff0fc06bde3e61 (patch)
treee5e0a23aa9fb0893108050166979d6663f0521c2 /src/plist.c
parent04e082ef5f8fbc3ffadf5efdf2ae268e5de1300d (diff)
downloadlibplist-4b50a5acf1e26ff44904d5e533ff0fc06bde3e61.tar.gz
libplist-4b50a5acf1e26ff44904d5e533ff0fc06bde3e61.tar.bz2
bplist: Fix handling of PLIST_NULL node type
Diffstat (limited to 'src/plist.c')
-rw-r--r--src/plist.c1
1 files changed, 1 insertions, 0 deletions
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: