Fixing type cast while loading C_GetFunctionList .
The following compilation was fixed by correcting type cast
aws-cloudhsm-pkcs11-examples/src/common/pkcs11.c:80:15: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
rv = pFunc(&funcs);
Fixing type cast while loading C_GetFunctionList . The following compilation was fixed by correcting type cast
aws-cloudhsm-pkcs11-examples/src/common/pkcs11.c:80:15: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype] rv = pFunc(&funcs);