mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 06:26:15 +01:00
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:
parent
00323ac0e1
commit
b9e66a59f6
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user