diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jplist.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jplist.c b/src/jplist.c index 3a38ba3..23fb45b 100644 --- a/src/jplist.c +++ b/src/jplist.c @@ -362,6 +362,9 @@ static int node_estimate_size(node_t *node, uint64_t *size, uint32_t depth, int case PLIST_BOOLEAN: *size += ((data->boolval) ? 4 : 5); break; + case PLIST_NULL: + *size += 4; + break; case PLIST_DICT: case PLIST_ARRAY: *size += 2; |