summaryrefslogtreecommitdiffstats
path: root/src/bplist.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/bplist.c
parent04e082ef5f8fbc3ffadf5efdf2ae268e5de1300d (diff)
downloadlibplist-4b50a5acf1e26ff44904d5e533ff0fc06bde3e61.tar.gz
libplist-4b50a5acf1e26ff44904d5e533ff0fc06bde3e61.tar.bz2
bplist: Fix handling of PLIST_NULL node type
Diffstat (limited to 'src/bplist.c')
-rw-r--r--src/bplist.c1
1 files changed, 1 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: