Explorar o código

Fix compiler warning

(Logical change 1.50)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@155 fd59a12c-fef9-0310-b244-a6a79926bd2f
Mark Haverkamp %!s(int64=21) %!d(string=hai) anos
pai
achega
21f537641e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/evt.c

+ 1 - 1
lib/evt.c

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