mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-05 22:18:33 +00:00
Small fix for data types.
(Logical change 1.128) git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@458 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
898c85d4b7
commit
02f3c50c8f
@ -434,14 +434,14 @@ saHandleDestroy (
|
||||
SaErrorT
|
||||
saHandleInstanceGet (
|
||||
struct saHandleDatabase *handleDatabase,
|
||||
unsigned int handle,
|
||||
SaUint64T int handle,
|
||||
void **instance)
|
||||
{
|
||||
SaErrorT error = SA_OK;
|
||||
|
||||
pthread_mutex_lock (&handleDatabase->mutex);
|
||||
|
||||
if (handle >= handleDatabase->handleCount) {
|
||||
if (handle >= (SaUint64T)handleDatabase->handleCount) {
|
||||
error = SA_ERR_BAD_HANDLE;
|
||||
goto error_exit;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user