diff --git a/wolfssl/wolfcrypt/wc_port.h b/wolfssl/wolfcrypt/wc_port.h index 6c68d15919..81cd72e783 100644 --- a/wolfssl/wolfcrypt/wc_port.h +++ b/wolfssl/wolfcrypt/wc_port.h @@ -681,7 +681,7 @@ return 1; } else { - *(char * volatile *)expected_ptr = *(char **)c; + *(char * volatile *)expected_ptr = *(char * volatile *)c; return 0; } }