WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATH] ioemu: use standard uint8_t instead of uint8
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
Date: Tue, 29 Jan 2008 16:02:24 +0000
Delivery-date: Tue, 29 Jan 2008 08:03:36 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATH] ioemu: use standard uint8_t instead of uint8, Samuel Thibault <=