Fix compiler warning.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4451 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2008-05-13 14:35:34 +00:00
parent cf1d97f074
commit 6106075b6b

View file

@ -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);