bug 424410 - Win64 tinderbox failing.

Correct usage of CK_ULONG_PTR for CK_ULONG.
r=nelson
This commit is contained in:
rrelyea%redhat.com 2008-03-27 22:47:42 +00:00
Родитель 92a7dbb285
Коммит ef7de6fd3a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -4171,7 +4171,7 @@ CK_RV NSC_FindObjects(CK_SESSION_HANDLE hSession,
transfer = ((int)ulMaxObjectCount > left) ? left : ulMaxObjectCount; transfer = ((int)ulMaxObjectCount > left) ? left : ulMaxObjectCount;
if (transfer > 0) { if (transfer > 0) {
PORT_Memcpy(phObject,&search->handles[search->index], PORT_Memcpy(phObject,&search->handles[search->index],
transfer*sizeof(CK_OBJECT_HANDLE_PTR)); transfer*sizeof(CK_OBJECT_HANDLE));
} else { } else {
*phObject = CK_INVALID_HANDLE; *phObject = CK_INVALID_HANDLE;
} }