dispatcher: return correct function type from ifunc resolver

This commit is contained in:
Derrick Lyndon Pallas 2019-04-19 21:36:19 +00:00 committed by Chang, Harry
parent aea440a300
commit 356c0ab3d4

View File

@ -51,7 +51,7 @@
} \
\
/* resolver */ \
static void(*JOIN(resolve_, NAME)(void)) { \
static RTYPE (*JOIN(resolve_, NAME)(void))(__VA_ARGS__) { \
if (check_avx512()) { \
return JOIN(avx512_, NAME); \
} \