From 5c2c988ef637f6862f8a2c0ab3265bc268e0364b Mon Sep 17 00:00:00 2001 From: kar-rahul-aws Date: Fri, 26 Apr 2024 03:36:38 +0530 Subject: [PATCH] Fix type-cast --- FreeRTOS-Plus/Demo/coreSNTP_Windows_Simulator/SNTPClientTask.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FreeRTOS-Plus/Demo/coreSNTP_Windows_Simulator/SNTPClientTask.c b/FreeRTOS-Plus/Demo/coreSNTP_Windows_Simulator/SNTPClientTask.c index 80391f046d..46025a93b9 100644 --- a/FreeRTOS-Plus/Demo/coreSNTP_Windows_Simulator/SNTPClientTask.c +++ b/FreeRTOS-Plus/Demo/coreSNTP_Windows_Simulator/SNTPClientTask.c @@ -1014,7 +1014,7 @@ static CK_RV setupPkcs11ObjectForAesCmac( const SntpAuthContext_t * pAuthContext }; /* Update the attributes array with the key of AES-CMAC operation. */ - aes_cmac_template[ 6 ].pValue = (uint8_t *) ( pAuthContext->pAuthKey ); + aes_cmac_template[ 6 ].pValue = ( uint8_t * ) ( pAuthContext->pAuthKey ); aes_cmac_template[ 6 ].ulValueLen = sizeof( pAuthContext->pAuthKey ); result = xInitializePkcs11Session( pPkcs11Session );