Fix compiler warning

(Logical change 1.50)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@155 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Mark Haverkamp 2004-07-30 17:51:32 +00:00
parent 518441dcb3
commit 21f537641e

View File

@ -187,7 +187,7 @@ static void evtHandleInstanceDestructor(void *instance)
* Empty out the queue if there are any pending messages
*/
while ((saQueueIsEmpty(&evti->ei_inq, &empty) == SA_OK) && !empty) {
saQueueItemGet(&evti->ei_inq, &msg);
saQueueItemGet(&evti->ei_inq, (void *)&msg);
saQueueItemRemove(&evti->ei_inq);
free(*msg);
}