From ae8b9cd3fbd5a7a247dcaaf5bc6c3fd5f67e06e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 14 Sep 2005 15:54:27 +0000 Subject: [PATCH] Cast to unsigned char to avoid warning. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16070 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/p11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hx509/p11.c b/lib/hx509/p11.c index d22d0dab4..e60bc6786 100644 --- a/lib/hx509/p11.c +++ b/lib/hx509/p11.c @@ -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