diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2011-05-10 21:49:22 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2011-05-10 21:49:22 -0400 |
commit | 7c140c8c84da252104aee71ebf72dbc614b3e831 (patch) | |
tree | db29f59abe4ab849c4031337be80e9b69c09b2b5 | |
parent | dcfaf4ec2d08a12f0d72f1cb93fd37cf232b0a11 (diff) |
connection.c: Use sizeof int for allocating fd extra storage
-rw-r--r-- | wayland/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |