commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 02/03: Fix gcc signedness warnings


From: Samuel Thibault
Subject: [hurd] 02/03: Fix gcc signedness warnings
Date: Thu, 14 Jan 2016 01:04:17 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 25b0531e34e15f749bce1edb32f4e4e964b3c0d0
Author: Samuel Thibault <address@hidden>
Date:   Thu Jan 14 01:27:42 2016 +0100

    Fix gcc signedness warnings
    
    * pfinet/linux-src/include/linux/skbuff.h (__skb_pull): Return unsigned
    char * instead of char *.
---
 pfinet/linux-src/include/linux/skbuff.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pfinet/linux-src/include/linux/skbuff.h 
b/pfinet/linux-src/include/linux/skbuff.h
index 452cbda..427d1de 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;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]