Commit 1648109c authored by Paulo Zanoni's avatar Paulo Zanoni Committed by Kristian Høgsberg
Browse files

connection: fix libffi usage, our functions return void



All clients were segfaulting on my machine.
Signed-off-by: Paulo Zanoni's avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
parent f6ede01b
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment