summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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;
}
}