mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
connection: use enum wl_arg_type in wl_message_count_arrays()
Missed it in 155dd63b58 ("Introduce enum wl_arg_type").
Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
440defbd2b
commit
44b1c0c737
1 changed files with 1 additions and 1 deletions
|
|
@ -410,7 +410,7 @@ wl_message_count_arrays(const struct wl_message *message)
|
|||
int i, arrays;
|
||||
|
||||
for (i = 0, arrays = 0; message->signature[i]; i++) {
|
||||
if (message->signature[i] == 'a')
|
||||
if (message->signature[i] == WL_ARG_ARRAY)
|
||||
arrays++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue