From: Eric Engestrom Date: Sun, 28 Oct 2018 18:04:01 +0000 (+0000) Subject: util: s/0/NULL/ for pointer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d0d6ec549db243c95e9e8c949eabb247c7b87ac7;p=mesa.git util: s/0/NULL/ for pointer Signed-off-by: Eric Engestrom Reviewed-by: Emil Velikov --- 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; } }