mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
xwayland,render/vulkan: fix some size assertions
This commit is contained in:
parent
fa4d8bbad7
commit
38923826c3
2 changed files with 2 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ noreturn static void exec_xwayland(struct wlr_xwayland_server *server,
|
|||
|
||||
argv[i++] = NULL;
|
||||
|
||||
assert(i < sizeof(argv) / sizeof(argv[0]));
|
||||
assert(i <= sizeof(argv) / sizeof(argv[0]));
|
||||
|
||||
char wayland_socket_str[16];
|
||||
snprintf(wayland_socket_str, sizeof(wayland_socket_str), "%d", server->wl_fd[1]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue