diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-13 14:35:34 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-13 14:35:34 +0000 |
commit | 6106075b6bdde0da5bbfbe514db1e5e587f9b567 (patch) | |
tree | ddbffc56ae6f3c47553f5be8c67b55e75cb85399 /hw/e1000.c | |
parent | cf1d97f07480b6197aebc489938b4e1fed78d3e7 (diff) |
Fix compiler warning.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4451 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/e1000.c')
-rw-r--r-- | hw/e1000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/e1000.c b/hw/e1000.c index 5988fea410..c45020f405 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); |