Reduce compiler warnings on Windows

This commit is contained in:
Asanka Herath
2010-06-03 00:59:54 -04:00
parent f456b70013
commit 0d09c879f3
4 changed files with 4 additions and 4 deletions

View File

@@ -835,7 +835,7 @@ p11_init(hx509_context context,
goto out;
}
getFuncs = dlsym(p->dl_handle, "C_GetFunctionList");
getFuncs = (CK_C_GetFunctionList) dlsym(p->dl_handle, "C_GetFunctionList");
if (getFuncs == NULL) {
ret = HX509_PKCS11_LOAD;
hx509_set_error_string(context, 0, ret,