mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-20 05:34:35 -04: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);
|
extra += sizeof (void *) + sizeof (struct wl_array);
|
||||||
break;
|
break;
|
||||||
case 'h':
|
case 'h':
|
||||||
extra += sizeof (uint32_t);
|
extra += sizeof (int);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue