ia64/xen-unstable

changeset 16938:92aa029e7cb1

ioemu: use standard uint8_t instead of uint8 in new e100 s/r code
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Jan 30 09:37:06 2008 +0000 (2008-01-30)
parents 4942f9909ec8
children 47b7ec3b4055
files tools/ioemu/hw/e100.c
line diff
     1.1 --- a/tools/ioemu/hw/e100.c	Wed Jan 30 09:35:49 2008 +0000
     1.2 +++ b/tools/ioemu/hw/e100.c	Wed Jan 30 09:37:06 2008 +0000
     1.3 @@ -914,7 +914,7 @@ static void e100_save(QEMUFile * f, void
     1.4      qemu_put_be32s(f, &s->statistics.rx_short_frame_errors);
     1.5      qemu_put_be32s(f, &s->statistics.complete_word);
     1.6  
     1.7 -    qemu_put_buffer(f, (uint8*)(&s->config), sizeof(s->config));
     1.8 +    qemu_put_buffer(f, (uint8_t*)(&s->config), sizeof(s->config));
     1.9  
    1.10      qemu_put_buffer(f, s->pkt_buf, MAX_ETH_FRAME_SIZE+4);
    1.11      qemu_put_be32s(f, &s->pkt_buf_len);
    1.12 @@ -992,7 +992,7 @@ static int e100_load(QEMUFile * f, void 
    1.13      qemu_get_be32s(f, &s->statistics.rx_short_frame_errors);
    1.14      qemu_get_be32s(f, &s->statistics.complete_word);
    1.15  
    1.16 -    qemu_put_buffer(f, (uint8*)(&s->config), sizeof(s->config));
    1.17 +    qemu_put_buffer(f, (uint8_t*)(&s->config), sizeof(s->config));
    1.18  
    1.19      qemu_get_buffer(f, s->pkt_buf, MAX_ETH_FRAME_SIZE+4);
    1.20      qemu_get_be32s(f, &s->pkt_buf_len);