mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-25 07:17:11 +00:00
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:
parent
518441dcb3
commit
21f537641e
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user