[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATH] ioemu: use standard uint8_t instead of uint8



ioemu: use standard uint8_t instead of uint8

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>

--- /usr/src/xen-unstable.hg/tools/ioemu/hw/e100.c      2008-01-29 
16:00:24.000000000 +0000
+++ tools/ioemu/hw/e100.c       2008-01-29 16:00:00.072653000 +0000
@@ -914,7 +914,7 @@
     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 @@
     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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.