Skip to content

Commit 50835c1

Browse files
fix warning of const char* passed as char*
1 parent 65d4e01 commit 50835c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/wc_port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2472,7 +2472,7 @@ int wolfSSL_HwPkMutexUnLock(void)
24722472

24732473
int wc_InitMutex(wolfSSL_Mutex* m)
24742474
{
2475-
if (tx_mutex_create(m, "wolfSSL Mutex", TX_NO_INHERIT) == 0)
2475+
if (tx_mutex_create(m, (CHAR*)"wolfSSL Mutex", TX_NO_INHERIT) == 0)
24762476
return 0;
24772477
else
24782478
return BAD_MUTEX_E;

0 commit comments

Comments
 (0)