summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-10-28 18:04:01 +0000
committerEric Engestrom <[email protected]>2018-10-30 18:10:59 +0000
commitd0d6ec549db243c95e9e8c949eabb247c7b87ac7 (patch)
tree99d493ef924c2d60966eebaeda7634b8038bbf67 /src
parent5c64847322ee6515e27eaa9c944a9afb4fefd4bc (diff)
util: s/0/NULL/ for pointer
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/util/u_dynarray.h2
1 files changed, 1 insertions, 1 deletions
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;
}
}