diff options
author | edgar_igl | 2008-05-03 00:47:34 +0200 |
---|---|---|
committer | edgar_igl | 2008-05-03 00:47:34 +0200 |
commit | 63c1d9252a92737ceb14566b92e0dd209dd77a94 (patch) | |
tree | f08543b6e03d842b723125a767660175a4d9a83d /hw/etraxfs_timer.c | |
parent | ETRAX-FS board: Add more flash and internal memory. Select interrupt nr for the (diff) | |
download | qemu-63c1d9252a92737ceb14566b92e0dd209dd77a94.tar.gz qemu-63c1d9252a92737ceb14566b92e0dd209dd77a94.tar.xz qemu-63c1d9252a92737ceb14566b92e0dd209dd77a94.zip |
Avoid a build warning.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4303 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/etraxfs_timer.c')
-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); } |