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:
Steven Dake 2005-02-04 19:54:01 +00:00
parent 898c85d4b7
commit 02f3c50c8f

View File

@ -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;
}