From f8e552ab6eb25e06c43117b9c6dabf01d04e8a87 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 10 Nov 2017 08:02:52 +0100 Subject: [PATCH] gcc and clang want function pointers to be cast. --- src/kernel/order.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/order.c b/src/kernel/order.c index c4571cea1..ed0b93d4a 100644 --- a/src/kernel/order.c +++ b/src/kernel/order.c @@ -529,7 +529,7 @@ keyword_t init_order(const struct order *ord, const struct locale *lang) odata_addref(parser_od); } str = OD_STRING(parser_od); - init_tokens_ex(str, parser_od, odata_release); + init_tokens_ex(str, parser_od, (void(*)(void *))odata_release); } return kwd; }