Fix signedness warning in glib/gdate.c

glib/gdate.c: In function ‘convert_twodigit_year’:
glib/gdate.c:1217:13: warning: comparison of integer expressions of
  different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’}
 1217 |       if (y < two)
      |             ^
This commit is contained in:
Emmanuel Fleury 2021-04-08 13:29:05 +02:00
parent 00323ac0e1
commit b9e66a59f6

View File

@ -1207,7 +1207,7 @@ g_date_prepare_to_parse (const gchar *str,
}
static guint
convert_twodigit_year (gint y)
convert_twodigit_year (guint y)
{
if (using_twodigit_years && y < 100)
{