diff options
author | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-02 22:47:34 +0000 |
---|---|---|
committer | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-02 22:47:34 +0000 |
commit | 63c1d9252a92737ceb14566b92e0dd209dd77a94 (patch) | |
tree | f08543b6e03d842b723125a767660175a4d9a83d | |
parent | b01cde7bdf81d7bf1ea31b2ff100ddcc8880c068 (diff) |
Avoid a build warning.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4303 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | hw/etraxfs_timer.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |