summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd312/files/patch-imap__jmap_mailbox.c
blob: ad097332221e914d2c6b09ef8a6c5f5c5967ff12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- imap/jmap_mailbox.c.orig	2024-03-18 02:20:35 UTC
+++ imap/jmap_mailbox.c
@@ -1327,7 +1327,7 @@ static int _mboxquery_run(mboxquery_t *query, const mb
 
     /* Apply comparators */
     cyr_qsort_r(query->result.data, query->result.count, sizeof(void*),
-                (int(*)(const void*, const void*, void*)) _mboxquery_compar, query);
+                (int(*)QSORT_R_COMPAR_ARGS(const void*, const void*, void*)) _mboxquery_compar, query);
 
     /* Build in-memory tree */
     hash_table recs_by_parentid = HASH_TABLE_INITIALIZER;