aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-13 14:35:34 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-13 14:35:34 +0000
commit6106075b6bdde0da5bbfbe514db1e5e587f9b567 (patch)
treeddbffc56ae6f3c47553f5be8c67b55e75cb85399 /hw
parentcf1d97f07480b6197aebc489938b4e1fed78d3e7 (diff)
downloadqemu-6106075b6bdde0da5bbfbe514db1e5e587f9b567.zip
qemu-6106075b6bdde0da5bbfbe514db1e5e587f9b567.tar.gz
qemu-6106075b6bdde0da5bbfbe514db1e5e587f9b567.tar.bz2
Fix compiler warning.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4451 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/e1000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/e1000.c b/hw/e1000.c
index 5988fea..c45020f 100644
--- a/hw/e1000.c
+++ b/hw/e1000.c
@@ -448,7 +448,7 @@ start_xmit(E1000State *s)
cpu_physical_memory_read(base, (void *)&desc, sizeof(desc));
DBGOUT(TX, "index %d: %p : %x %x\n", s->mac_reg[TDH],
- (void *)desc.buffer_addr, desc.lower.data,
+ (void *)(intptr_t)desc.buffer_addr, desc.lower.data,
desc.upper.data);
process_tx_desc(s, &desc);