Merge branch 'gsize-format' into 'master'

tests: use G_GSIZE_FORMAT instead of G_GUINT64_FORMAT for gsize

Closes #32

See merge request GNOME/sysprof!24
This commit is contained in:
Christian Hergert
2020-03-08 02:11:57 +00:00

View File

@ -109,7 +109,7 @@ allocs_by_size (SysprofCaptureReader *reader)
{
const Item *item = &g_array_index (ar, Item, i);
g_print ("%"G_GUINT64_FORMAT",%"G_GUINT64_FORMAT",%"G_GUINT64_FORMAT"\n",
g_print ("%"G_GSIZE_FORMAT",%"G_GSIZE_FORMAT",%"G_GSIZE_FORMAT"\n",
item->size, item->cmp, item->count);
}
}