зеркало из https://github.com/mozilla/pjs.git
bug 424410 - Win64 tinderbox failing.
Correct usage of CK_ULONG_PTR for CK_ULONG. r=nelson
This commit is contained in:
Родитель
92a7dbb285
Коммит
ef7de6fd3a
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче