diff options
Diffstat (limited to 'lib/softoken/pkcs11u.c')
-rw-r--r-- | lib/softoken/pkcs11u.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/softoken/pkcs11u.c b/lib/softoken/pkcs11u.c index 5299a700a..1d0f8dacf 100644 --- a/lib/softoken/pkcs11u.c +++ b/lib/softoken/pkcs11u.c @@ -904,7 +904,7 @@ sftk_AddAttributeType(SFTKObject *object, CK_ATTRIBUTE_TYPE type, static SECItem * sftk_lookupTokenKeyByHandle(SFTKSlot *slot, CK_OBJECT_HANDLE handle) { - return (SECItem *)PL_HashTableLookup(slot->tokObjHashTable, (void *)handle); + return (SECItem *)PL_HashTableLookup(slot->tokObjHashTable, (void *)(uintptr_t)handle); } /* |