mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-21 06:59:46 -05:00
connection.c: Use sizeof int for allocating fd extra storage
This commit is contained in:
parent
dcfaf4ec2d
commit
7c140c8c84
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue