Commit 63c1d9252a92737ceb14566b92e0dd209dd77a94
1 parent
b01cde7b
Avoid a build warning.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4303 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
1 deletions
hw/etraxfs_timer.c
@@ -180,8 +180,9 @@ static void timer_update_irq(struct fs_timer_t *t) | @@ -180,8 +180,9 @@ static void timer_update_irq(struct fs_timer_t *t) | ||
180 | qemu_irq_lower(t->irq[0]); | 180 | qemu_irq_lower(t->irq[0]); |
181 | } | 181 | } |
182 | 182 | ||
183 | -static void timer_hit(struct fs_timer_t *t) | 183 | +static void timer_hit(void *opaque) |
184 | { | 184 | { |
185 | + struct fs_timer_t *t = opaque; | ||
185 | t->r_intr |= 1; | 186 | t->r_intr |= 1; |
186 | timer_update_irq(t); | 187 | timer_update_irq(t); |
187 | } | 188 | } |