Use `void*` on heap hint test. Also previously fixed in `hmac.c`.

This commit is contained in:
David Garske 2021-08-17 10:52:50 -07:00
parent 89904ce82e
commit 95178e3bdc
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ int wc_SrpInit_ex(Srp* srp, SrpType type, SrpSide side, void* heap, int devId)
/* default heap hint to NULL or test value */
#ifdef WOLFSSL_HEAP_TEST
srp->heap = (void)WOLFSSL_HEAP_TEST;
srp->heap = (void*)WOLFSSL_HEAP_TEST;
#else
srp->heap = heap;
#endif /* WOLFSSL_HEAP_TEST */