cast size_t to int for "%.*s"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25184 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -331,7 +331,7 @@ p11_init_slot(hx509_context context,
|
|||||||
}
|
}
|
||||||
|
|
||||||
asprintf(&slot->name, "%.*s",
|
asprintf(&slot->name, "%.*s",
|
||||||
i, slot_info.slotDescription);
|
(int)i, slot_info.slotDescription);
|
||||||
|
|
||||||
if ((slot_info.flags & CKF_TOKEN_PRESENT) == 0)
|
if ((slot_info.flags & CKF_TOKEN_PRESENT) == 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user