mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 06:26:15 +01:00
Fixing signedness in glib/gvariant-core.c
glib/gvariant-core.c: In function ‘g_variant_ensure_size’: glib/gvariant-core.c:339:19: error: comparison of integer expressions of different signedness: ‘gsize’ {aka ‘long unsigned int’} and ‘long int’ [-Werror=sign-compare] if (value->size == (gssize) -1) ^~
This commit is contained in:
parent
b673ac48cc
commit
9023483d36
@ -336,7 +336,7 @@ g_variant_ensure_size (GVariant *value)
|
||||
{
|
||||
g_assert (value->state & STATE_LOCKED);
|
||||
|
||||
if (value->size == (gssize) -1)
|
||||
if (value->size == (gsize) -1)
|
||||
{
|
||||
gpointer *children;
|
||||
gsize n_children;
|
||||
|
Loading…
Reference in New Issue
Block a user