# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1201685826 0
# Node ID 92aa029e7cb19ac32c7e3ff2a3d78bd67af047f3
# Parent 4942f9909ec87a1365f306e804b84d4bf19d2d11
ioemu: use standard uint8_t instead of uint8 in new e100 s/r code
Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
tools/ioemu/hw/e100.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 4942f9909ec8 -r 92aa029e7cb1 tools/ioemu/hw/e100.c
--- a/tools/ioemu/hw/e100.c Wed Jan 30 09:35:49 2008 +0000
+++ b/tools/ioemu/hw/e100.c Wed Jan 30 09:37:06 2008 +0000
@@ -914,7 +914,7 @@ static void e100_save(QEMUFile * f, void
qemu_put_be32s(f, &s->statistics.rx_short_frame_errors);
qemu_put_be32s(f, &s->statistics.complete_word);
- qemu_put_buffer(f, (uint8*)(&s->config), sizeof(s->config));
+ qemu_put_buffer(f, (uint8_t*)(&s->config), sizeof(s->config));
qemu_put_buffer(f, s->pkt_buf, MAX_ETH_FRAME_SIZE+4);
qemu_put_be32s(f, &s->pkt_buf_len);
@@ -992,7 +992,7 @@ static int e100_load(QEMUFile * f, void
qemu_get_be32s(f, &s->statistics.rx_short_frame_errors);
qemu_get_be32s(f, &s->statistics.complete_word);
- qemu_put_buffer(f, (uint8*)(&s->config), sizeof(s->config));
+ qemu_put_buffer(f, (uint8_t*)(&s->config), sizeof(s->config));
qemu_get_buffer(f, s->pkt_buf, MAX_ETH_FRAME_SIZE+4);
qemu_get_be32s(f, &s->pkt_buf_len);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|