diff --git a/src/capwap/mavl_create.c b/src/capwap/mavl_create.c index 7f49318e..c813ee29 100644 --- a/src/capwap/mavl_create.c +++ b/src/capwap/mavl_create.c @@ -12,7 +12,7 @@ struct mavl *mavl_create(int (*cmp) (const void *, const void *), struct mavl *t = malloc(sizeof(struct mavl)); if (!t) return NULL; - t->root = 0; + t->root = NULL; t->count = 0; t->cmp = cmp; t->del = del;