Skip to content

Commit 84f9b20

Browse files
authored
Merge pull request #10062 from anhu/vol
Volatile casting
2 parents 24f9981 + 812e2b6 commit 84f9b20

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
@@ -682,7 +682,7 @@
682682
return 1;
683683
}
684684
else {
685-
*(char * volatile *)expected_ptr = *(char **)c;
685+
*(char * volatile *)expected_ptr = *(char * volatile *)c;
686686
return 0;
687687
}
688688
}

0 commit comments

Comments
 (0)