From: edgar_igl Date: Fri, 2 May 2008 22:47:34 +0000 (+0000) Subject: Avoid a build warning. X-Git-Tag: xen-3.3.0-rc1~194^2^2~149 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=63c1d9252a92737ceb14566b92e0dd209dd77a94;p=qemu-xen-unstable.git Avoid a build warning. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4303 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/hw/etraxfs_timer.c b/hw/etraxfs_timer.c index 8ec147cc40..08a6f18384 100644 --- a/hw/etraxfs_timer.c +++ b/hw/etraxfs_timer.c @@ -180,8 +180,9 @@ static void timer_update_irq(struct fs_timer_t *t) 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); }