diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-01-14 01:27:42 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-01-14 01:27:42 +0100 |
commit | 25b0531e34e15f749bce1edb32f4e4e964b3c0d0 (patch) | |
tree | 0793fd9a6cf539d7fa0ae9096f892a598054f692 /pfinet/linux-src/include | |
parent | 076957fe8c12344ddae2fa4b966c7be9be232654 (diff) |
Fix gcc signedness warnings
* pfinet/linux-src/include/linux/skbuff.h (__skb_pull): Return unsigned
char * instead of char *.
Diffstat (limited to 'pfinet/linux-src/include')
-rw-r--r-- | pfinet/linux-src/include/linux/skbuff.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/linux-src/include/linux/skbuff.h b/pfinet/linux-src/include/linux/skbuff.h index 452cbdaf..427d1de7 100644 --- a/pfinet/linux-src/include/linux/skbuff.h +++ b/pfinet/linux-src/include/linux/skbuff.h @@ -475,7 +475,7 @@ here: ; return skb->data; } -static __inline__ char *__skb_pull(struct sk_buff *skb, unsigned int len) +static __inline__ unsigned char *__skb_pull(struct sk_buff *skb, unsigned int len) { skb->len-=len; return skb->data+=len; |