blob: 831c2f30d243e8182e1fc5b6b2f48a8066b46a87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -rauN sysprof-3.36.0/src/tests/allocs-by-size.c sysprof-3.36.0-allocs-by-size-gsize-format-patch/src/tests/allocs-by-size.c
--- sysprof-3.36.0/src/tests/allocs-by-size.c 2020-03-22 20:00:12.677048822 +0100
+++ sysprof-3.36.0-allocs-by-size-gsize-format-patch/src/tests/allocs-by-size.c 2020-03-22 20:01:07.000418361 +0100
@@ -109,7 +109,7 @@
{
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);
}
}
|