Fix for clang - cast down

This commit is contained in:
Sean Parkinson 2018-11-28 08:49:33 +10:00
parent 7f76af0b36
commit 1a518c6c46

View File

@ -215,7 +215,7 @@ void wc_Pkcs11Token_Final(Pkcs11Token* token)
if (token != NULL && token->func != NULL) {
token->func->C_CloseAllSessions(token->slotId);
token->handle = NULL_PTR;
ForceZero(token->userPin, token->userPinSz);
ForceZero(token->userPin, (word32)token->userPinSz);
}
}