Fix several signedness warnings in gio/gsettings-mapping.c
gio/gsettings-mapping.c: In function ‘g_settings_set_mapping_int’: gio/gsettings-mapping.c:65:23: error: comparison of integer expressions of different signedness: ‘gint64’ {aka ‘long int’} and ‘long unsigned int’ 65 | if (0 <= l && l <= G_MAXUINT64) | ^~ gio/gsettings-mapping.c: In function ‘g_settings_set_mapping_float’: gio/gsettings-mapping.c:120:23: error: comparison of integer expressions of different signedness: ‘gint64’ {aka ‘long int’} and ‘long unsigned int’ 120 | if (0 <= l && l <= G_MAXUINT64) | ^~ gio/gsettings-mapping.c: In function ‘g_settings_get_mapping_int’: gio/gsettings-mapping.c:224:27: error: comparison of integer expressions of different signedness: ‘gint64’ {aka ‘long int’} and ‘long unsigned int’ 224 | return (0 <= l && l <= G_MAXUINT64); | ^~ gio/gsettings-mapping.c: In function ‘g_settings_get_mapping_float’: gio/gsettings-mapping.c:269:27: error: comparison of integer expressions of different signedness: ‘gint64’ {aka ‘long int’} and ‘long unsigned int’ 269 | return (0 <= l && l <= G_MAXUINT64); | ^~
Please register or sign in to comment