From 1648109c84a5e96fd28a29a276a668050dd6c881 Mon Sep 17 00:00:00 2001 From: Paulo Zanoni Date: Fri, 26 Aug 2011 19:41:05 -0300 Subject: connection: fix libffi usage, our functions return void All clients were segfaulting on my machine. Signed-off-by: Paulo Zanoni --- src/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connection.c b/src/connection.c index 6dfb0b9..cfdc8d8 100644 --- a/src/connection.c +++ b/src/connection.c @@ -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); -- cgit v1.2.3