gdbus-test-codegen: Allocate full integer space for uint16 properties

Because there is no G_TYPE_[U]INT16, we need to use integer types,
otherwise we'll end up overwriting memory (in this case on the stack).
This commit is contained in:
Colin Walters 2011-06-20 13:41:52 -04:00
parent 49fac943f3
commit d54c65448c

View File

@ -703,8 +703,8 @@ check_bar_proxy (FooBar *proxy,
ClientData *data;
guchar val_y;
gboolean val_b;
gint16 val_n;
guint16 val_q;
gint val_n;
guint val_q;
gint val_i;
guint val_u;
gint64 val_x;