mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 02:46:16 +01:00
Fix signedness warning in glib/gstring.c
glib/gstring.c: In function ‘g_string_replace’: glib/gstring.c:998:13: warning: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} 998 | if (n == limit) | ^~
This commit is contained in:
parent
7a0bc25792
commit
8ad4f752b1
@ -978,7 +978,7 @@ g_string_replace (GString *string,
|
||||
{
|
||||
gsize f_len, r_len, pos;
|
||||
gchar *cur, *next;
|
||||
gint n = 0;
|
||||
guint n = 0;
|
||||
|
||||
g_return_val_if_fail (string != NULL, 0);
|
||||
g_return_val_if_fail (find != NULL, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user