gcc and clang want function pointers to be cast.

This commit is contained in:
Enno Rehling 2017-11-10 08:02:52 +01:00
parent 05b7837070
commit f8e552ab6e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}