From 95178e3bdc5e1a0f8189ecdd4f41744f402cf118 Mon Sep 17 00:00:00 2001 From: David Garske Date: Tue, 17 Aug 2021 10:52:50 -0700 Subject: [PATCH] Use `void*` on heap hint test. Also previously fixed in `hmac.c`. --- wolfcrypt/src/srp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/srp.c b/wolfcrypt/src/srp.c index 7e5a5fee3..afa7f0274 100644 --- a/wolfcrypt/src/srp.c +++ b/wolfcrypt/src/srp.c @@ -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 */