From bff0ea483711a044f514ccee0e4ab5552dbea2bb Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Mon, 9 Feb 2015 23:16:31 +0100 Subject: [PATCH] fixed compiler warning --- src/tools/pkcs11-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/pkcs11-tool.c b/src/tools/pkcs11-tool.c index 05a5c40e..15cee833 100644 --- a/src/tools/pkcs11-tool.c +++ b/src/tools/pkcs11-tool.c @@ -1138,7 +1138,7 @@ static void init_token(CK_SLOT_ID slot) get_token_info(slot, &info); if (opt_so_pin != NULL) { - new_pin = opt_so_pin; + new_pin = (char *) opt_so_pin; } else { if (!(info.flags & CKF_PROTECTED_AUTHENTICATION_PATH)) { printf("Please enter the new SO PIN: ");