summaryrefslogtreecommitdiff
path: root/src/json.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/json.c')
-rw-r--r--src/json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json.c b/src/json.c
index 0132df67d..36d47aa99 100644
--- a/src/json.c
+++ b/src/json.c
@@ -861,7 +861,7 @@ json_decode_item(js_read_T *reader, typval_T *res, int options)
break;
}
- if (res != NUL)
+ if (res != NULL)
{
res->v_type = VAR_SPECIAL;
res->vval.v_number = VVAL_NONE;