mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Fix signedness warning in gobject/gobject.c:g_object_class_install_properties()
gobject/gobject.c: In function ‘g_object_class_install_properties’: gobject/gobject.c:766:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} 766 | for (i = 1; i < n_pspecs; i++) | ^
This commit is contained in:
parent
e28d9defb1
commit
d50d2098b5
@ -749,7 +749,7 @@ g_object_class_install_properties (GObjectClass *oclass,
|
||||
GParamSpec **pspecs)
|
||||
{
|
||||
GType oclass_type, parent_type;
|
||||
gint i;
|
||||
guint i;
|
||||
|
||||
g_return_if_fail (G_IS_OBJECT_CLASS (oclass));
|
||||
g_return_if_fail (n_pspecs > 1);
|
||||
|
Loading…
Reference in New Issue
Block a user