aboutsummaryrefslogtreecommitdiffstats
path: root/src/wayland-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wayland-util.c')
-rw-r--r--src/wayland-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wayland-util.c b/src/wayland-util.c
index e782309..3f95877 100644
--- a/src/wayland-util.c
+++ b/src/wayland-util.c
@@ -127,7 +127,7 @@ wl_array_add(struct wl_array *array, size_t size)
data = malloc(alloc);
if (data == NULL)
- return 0;
+ return NULL;
array->data = data;
array->alloc = alloc;
}