Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/sysprof/sysprof-3.36.0-allocs-by-size-gsize-format.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/sysprof/sysprof-3.36.0-allocs-by-size-gsize-format.patch')
-rw-r--r--extra/sysprof/sysprof-3.36.0-allocs-by-size-gsize-format.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/sysprof/sysprof-3.36.0-allocs-by-size-gsize-format.patch b/extra/sysprof/sysprof-3.36.0-allocs-by-size-gsize-format.patch
new file mode 100644
index 00000000..831c2f30
--- /dev/null
+++ b/extra/sysprof/sysprof-3.36.0-allocs-by-size-gsize-format.patch
@@ -0,0 +1,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);
+ }
+ }