From 0df54d980737b7c4bb07aa4ac29e1e7689a6019b Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 15 Jul 2009 09:09:48 +0100 Subject: minios: switch to C99 integer types This is a necessary step to make minios build on NetBSD. Signed-off-by: Christoph Egger --- extras/mini-os/lwip-net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras/mini-os/lwip-net.c') 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 */ -- cgit v1.2.3