From 31078e083933c3873bfebc1c9f59c019061b85d9 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Sun, 19 Feb 2012 15:22:33 +0100 Subject: net: let net_udp_get_payload return void * Signed-off-by: Sascha Hauer --- include/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net.h b/include/net.h index d0f8341023..10267933c8 100644 --- a/include/net.h +++ b/include/net.h @@ -415,7 +415,7 @@ static inline int net_udp_bind(struct net_connection *con, int sport) return 0; } -static inline unsigned char *net_udp_get_payload(struct net_connection *con) +static inline void *net_udp_get_payload(struct net_connection *con) { return con->packet + sizeof(struct ethernet) + sizeof(struct iphdr) + sizeof(struct udphdr); -- cgit v1.2.3