summaryrefslogtreecommitdiff
path: root/audio/swami/swami-menu-qsort-bug.patch
diff options
context:
space:
mode:
Diffstat (limited to 'audio/swami/swami-menu-qsort-bug.patch')
-rw-r--r--audio/swami/swami-menu-qsort-bug.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/swami/swami-menu-qsort-bug.patch b/audio/swami/swami-menu-qsort-bug.patch
new file mode 100644
index 0000000000..f6119e420d
--- /dev/null
+++ b/audio/swami/swami-menu-qsort-bug.patch
@@ -0,0 +1,12 @@
+--- src/swamigui/SwamiguiMenu.c (revision 370)
++++ src/swamigui/SwamiguiMenu.c (working copy)
+@@ -373,7 +373,7 @@
+ menu = gtk_menu_new ();
+
+ types = swami_util_get_child_types (IPATCH_TYPE_BASE, &n_types);
+- qsort (types, sizeof (GType), n_types, sort_by_type_name);
++ qsort (types, n_types, sizeof (GType), sort_by_type_name);
+
+ for (ptype = types; *ptype; ptype++)
+ {
+