projects
/
profile
/
ivi
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcfaf4e
)
connection.c: Use sizeof int for allocating fd extra storage
author
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 11 May 2011 01:49:22 +0000
(21:49 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 11 May 2011 01:49:22 +0000
(21:49 -0400)
wayland/connection.c
patch
|
blob
|
history
diff --git
a/wayland/connection.c
b/wayland/connection.c
index
b53c0a1
..
259a68c
100644
(file)
--- 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 (
in
t);
break;
default:
break;