X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fsctp%2Fulpevent.c;h=ce6cda6b6994daaf5e1a64c09fdb31c126e07b5b;hb=5f0e62c3e1db9acb35b750e02cddc1fcb8cfd52b;hp=b43f1f110f8738069c59f425bd9e40a8e81ecbee;hpb=0dbd888936a23514716b8d944775bc56f731363a;p=linux-2.6 diff --git a/net/sctp/ulpevent.c b/net/sctp/ulpevent.c index b43f1f110f..ce6cda6b69 100644 --- a/net/sctp/ulpevent.c +++ b/net/sctp/ulpevent.c @@ -859,7 +859,7 @@ __u16 sctp_ulpevent_get_notification_type(const struct sctp_ulpevent *event) union sctp_notification *notification; struct sk_buff *skb; - skb = sctp_event2skb((struct sctp_ulpevent *)event); + skb = sctp_event2skb(event); notification = (union sctp_notification *) skb->data; return notification->sn_header.sn_type; }