Commit 6106075b6bdde0da5bbfbe514db1e5e587f9b567

Authored by ths
1 parent cf1d97f0

Fix compiler warning.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4451 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
hw/e1000.c
... ... @@ -448,7 +448,7 @@ start_xmit(E1000State *s)
448 448 cpu_physical_memory_read(base, (void *)&desc, sizeof(desc));
449 449  
450 450 DBGOUT(TX, "index %d: %p : %x %x\n", s->mac_reg[TDH],
451   - (void *)desc.buffer_addr, desc.lower.data,
  451 + (void *)(intptr_t)desc.buffer_addr, desc.lower.data,
452 452 desc.upper.data);
453 453  
454 454 process_tx_desc(s, &desc);
... ...