From d0d6ec549db243c95e9e8c949eabb247c7b87ac7 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sun, 28 Oct 2018 18:04:01 +0000 Subject: [PATCH] util: s/0/NULL/ for pointer Signed-off-by: Eric Engestrom Reviewed-by: Emil Velikov --- src/util/u_dynarray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/u_dynarray.h b/src/util/u_dynarray.h index c1aa79c8ac6..9bed2b9c25c 100644 --- a/src/util/u_dynarray.h +++ b/src/util/u_dynarray.h @@ -134,7 +134,7 @@ util_dynarray_trim(struct util_dynarray *buf) } else { free(buf->data); } - buf->data = 0; + buf->data = NULL; buf->capacity = 0; } } -- 2.30.2