From 7c140c8c84da252104aee71ebf72dbc614b3e831 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 10 May 2011 21:49:22 -0400 Subject: [PATCH] connection.c: Use sizeof int for allocating fd extra storage --- wayland/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wayland/connection.c b/wayland/connection.c index b53c0a1..259a68c 100644 --- a/wayland/connection.c +++ b/wayland/connection.c @@ -352,7 +352,7 @@ wl_message_size_extra(const struct wl_message *message) extra += sizeof (void *) + sizeof (struct wl_array); break; case 'h': - extra += sizeof (uint32_t); + extra += sizeof (int); break; default: break; -- 2.7.4