diff --git a/wolfcrypt/src/evp.c b/wolfcrypt/src/evp.c index 0b350dc7a..05cf734f0 100644 --- a/wolfcrypt/src/evp.c +++ b/wolfcrypt/src/evp.c @@ -3970,7 +3970,7 @@ int wolfSSL_EVP_MD_type(const WOLFSSL_EVP_MD *md) */ static void md_do_all_func(const WOLFSSL_OBJ_NAME* nm, void* arg) { - struct do_all_md *md = arg; + struct do_all_md *md = (struct do_all_md*)arg; const char* alias = NULL; const struct s_ent *ent;