mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
connection: fix libffi usage, our functions return void
All clients were segfaulting on my machine. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
This commit is contained in:
parent
f6ede01b68
commit
1648109c84
1 changed files with 1 additions and 1 deletions
|
|
@ -653,7 +653,7 @@ wl_connection_demarshal(struct wl_connection *connection,
|
|||
|
||||
closure->count = i;
|
||||
ffi_prep_cif(&closure->cif, FFI_DEFAULT_ABI,
|
||||
closure->count, &ffi_type_uint32, closure->types);
|
||||
closure->count, &ffi_type_void, closure->types);
|
||||
|
||||
wl_connection_consume(connection, size);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue