From 812e2b6bdecdf23c8dc049dce87f9cb29c4e1856 Mon Sep 17 00:00:00 2001 From: Anthony Hu Date: Tue, 24 Mar 2026 14:39:39 -0400 Subject: [PATCH] Volatile casting --- wolfssl/wolfcrypt/wc_port.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfssl/wolfcrypt/wc_port.h b/wolfssl/wolfcrypt/wc_port.h index 6c68d15919d..81cd72e783f 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; } }