summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrrelyea%redhat.com <devnull@localhost>2008-03-27 22:47:42 +0000
committerrrelyea%redhat.com <devnull@localhost>2008-03-27 22:47:42 +0000
commitda067c5f79568aa1205a08ef9d9cabee408ef4da (patch)
tree1e1b1e8e1a150b978c82259bb56165e8b959bee2
parent98e07d1dc7aa409f68129458c16cd088660baf69 (diff)
downloadnss-hg-da067c5f79568aa1205a08ef9d9cabee408ef4da.tar.gz
bug 424410 - Win64 tinderbox failing.
Correct usage of CK_ULONG_PTR for CK_ULONG. r=nelson
-rw-r--r--security/nss/lib/softoken/pkcs11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/softoken/pkcs11.c b/security/nss/lib/softoken/pkcs11.c
index f4d726040..f8745486d 100644
--- a/security/nss/lib/softoken/pkcs11.c
+++ b/security/nss/lib/softoken/pkcs11.c
@@ -4171,7 +4171,7 @@ CK_RV NSC_FindObjects(CK_SESSION_HANDLE hSession,
transfer = ((int)ulMaxObjectCount > left) ? left : ulMaxObjectCount;
if (transfer > 0) {
PORT_Memcpy(phObject,&search->handles[search->index],
- transfer*sizeof(CK_OBJECT_HANDLE_PTR));
+ transfer*sizeof(CK_OBJECT_HANDLE));
} else {
*phObject = CK_INVALID_HANDLE;
}