diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-07-15 09:09:48 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-07-15 09:09:48 +0100 |
commit | 0df54d980737b7c4bb07aa4ac29e1e7689a6019b (patch) | |
tree | 69c7a044efe1f909f03ad9ff32ef5a8e0d8a390f /extras/mini-os/lwip-net.c | |
parent | 4a493bdc5c1f3ba22004fd6a260fc7b4c6d23fce (diff) | |
download | xen-0df54d980737b7c4bb07aa4ac29e1e7689a6019b.tar.gz xen-0df54d980737b7c4bb07aa4ac29e1e7689a6019b.tar.bz2 xen-0df54d980737b7c4bb07aa4ac29e1e7689a6019b.zip |
minios: switch to C99 integer types
This is a necessary step to make minios build on NetBSD.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'extras/mini-os/lwip-net.c')
-rw-r--r-- | extras/mini-os/lwip-net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/mini-os/lwip-net.c b/extras/mini-os/lwip-net.c index 194ae2711e..9fded114c8 100644 --- a/extras/mini-os/lwip-net.c +++ b/extras/mini-os/lwip-net.c @@ -207,7 +207,7 @@ netfront_input(struct netif *netif, unsigned char* data, int len) etharp_ip_input(netif, p); #endif /* skip Ethernet header */ - pbuf_header(p, -(s16)sizeof(struct eth_hdr)); + pbuf_header(p, -(int16_t)sizeof(struct eth_hdr)); /* pass to network layer */ if (tcpip_input(p, netif) == ERR_MEM) /* Could not store it, drop */ |