Skip to content

Commit 812e2b6

Browse files
committed
Volatile casting
1 parent b2f1c58 commit 812e2b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfssl/wolfcrypt/wc_port.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@
681681
return 1;
682682
}
683683
else {
684-
*(char * volatile *)expected_ptr = *(char **)c;
684+
*(char * volatile *)expected_ptr = *(char * volatile *)c;
685685
return 0;
686686
}
687687
}

0 commit comments

Comments
 (0)