mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +01:00
gdump: Fix print-format error while GFlagsValue->value is an unsigned int
This commit is contained in:
parent
4dafb4d5cf
commit
c704898e26
2
gdump.c
2
gdump.c
@ -311,7 +311,7 @@ dump_flags_type (GType type, const char *symbol, GOutputStream *out)
|
||||
{
|
||||
GFlagsValue *value = &(klass->values[i]);
|
||||
|
||||
escaped_printf (out, " <member name=\"%s\" nick=\"%s\" value=\"%d\"/>\n",
|
||||
escaped_printf (out, " <member name=\"%s\" nick=\"%s\" value=\"%u\"/>\n",
|
||||
value->value_name, value->value_nick, value->value);
|
||||
}
|
||||
goutput_write (out, " </flags>\n");
|
||||
|
Loading…
Reference in New Issue
Block a user