mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-11 03:34:05 +02: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:
@@ -1207,7 +1207,7 @@ g_date_prepare_to_parse (const gchar *str,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static guint
|
static guint
|
||||||
convert_twodigit_year (gint y)
|
convert_twodigit_year (guint y)
|
||||||
{
|
{
|
||||||
if (using_twodigit_years && y < 100)
|
if (using_twodigit_years && y < 100)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user