summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Zanoni <przanoni@gmail.com>2011-08-26 19:41:05 -0300
committerKristian Høgsberg <krh@bitplanet.net>2011-08-27 12:06:10 -0400
commit1648109c84a5e96fd28a29a276a668050dd6c881 (patch)
treedd56875265935522319c566f952e77b65c7d16de
parentf6ede01b68ebdd74b2025bd087b8b52b0b5f2eef (diff)
connection: fix libffi usage, our functions return voidwayland-0.8
All clients were segfaulting on my machine. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
-rw-r--r--src/connection.c2
1 files changed, 1 insertions, 1 deletions
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);