fix warning
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2551 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
d37315ec35
commit
9f26a4ae35
|
@ -117,7 +117,7 @@ CK_RV sc_pkcs11_close_all_sessions(CK_SLOT_ID slotID)
|
|||
session = (struct sc_pkcs11_session*) item->item;
|
||||
next = item->next;
|
||||
|
||||
if (session->slot->id == slotID)
|
||||
if (session->slot->id == (int)slotID)
|
||||
sc_pkcs11_close_session(item->handle);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue