Cast to unsigned char to avoid warning.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16070 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-09-14 15:54:27 +00:00
parent f47adcff7d
commit ae8b9cd3fb

View File

@@ -292,7 +292,7 @@ p11_get_session(hx509_security_device module, const char *conf, int slot)
free(prompt);
ret = P11FUNC(module, Login,
(P11SESSION(module), CKU_USER, "3962", 4));
(P11SESSION(module), CKU_USER, (unsigned char*)"3962", 4));
if (ret != CKR_OK)
printf("login failed\n");
else