glib/gobject
Dan Winship 34e1a53795 gtype: fix a no-op assertion
g_type_class_add_private() was doing

    g_assert (node->data->instance.private_size <= 0xffff);

but that field is a guint16, so the check was a no-op. (Noticed by
clang, but not gcc for some reason.) Fix it to do the math in a gssize
variable and do the bounds checking there before updating the struct
field.

https://bugzilla.gnome.org/show_bug.cgi?id=706888
2013-08-27 09:42:14 -04:00
..
2013-08-17 17:25:58 -04:00
2009-03-31 19:39:16 -04:00
2013-06-12 11:24:55 +01:00
2013-05-02 15:50:21 -07:00
2013-01-01 13:54:54 -05:00
2012-03-08 14:51:22 +08:00
2012-10-16 09:39:24 -04:00
2013-07-20 11:07:46 +02:00
2013-07-28 22:06:57 -04:00
2013-08-27 09:42:14 -04:00
2013-07-29 17:29:05 +02:00
2013-05-09 16:04:54 -04:00
2013-08-17 10:34:32 -04:00