Skip to contentSkip to conversation

[4303] Avoid a build warning.

Qemu-devel Edgar E. Iglesias 1 participant 1 message May 2, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4303

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4303
Author:   edgar_igl
Date:     2008-05-02 22:47:34 +0000 (Fri, 02 May 2008)

Log Message:
-----------
Avoid a build warning.

Modified Paths:
--------------
trunk/hw/etraxfs_timer.c

Modified: trunk/hw/etraxfs_timer.c
===================================================================

hw/etraxfs_timer.c +2 -1
@@ -180,8 +180,9 @@
 		qemu_irq_lower(t->irq[0]);
 }
 
-static void timer_hit(struct fs_timer_t *t)
+static void timer_hit(void *opaque)
 {
+	struct fs_timer_t *t = opaque;
 	t->r_intr |= 1;
 	timer_update_irq(t);
 }