mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
Fixing signedness in glib/gquark.c
glib/gquark.c: In function ‘g_quark_to_string’: glib/gquark.c:268:13: error: comparison of integer expressions of different signedness: ‘GQuark’ {aka ‘unsigned int’} and ‘gint’ {aka ‘int’} [-Werror=sign-compare] if (quark < seq_id) ^
This commit is contained in:
parent
d7ddf66938
commit
f58702ebbf
@ -271,7 +271,7 @@ g_quark_to_string (GQuark quark)
|
||||
{
|
||||
gchar* result = NULL;
|
||||
gchar **strings;
|
||||
gint seq_id;
|
||||
guint seq_id;
|
||||
|
||||
seq_id = g_atomic_int_get (&quark_seq_id);
|
||||
strings = g_atomic_pointer_get (&quarks);
|
||||
|
Loading…
Reference in New Issue
Block a user