diff options
| -rw-r--r-- | net/sctp/proc.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/net/sctp/proc.c b/net/sctp/proc.c index 1b5e5b119f79..d47a52c303a8 100644 --- a/net/sctp/proc.c +++ b/net/sctp/proc.c | |||
| @@ -210,7 +210,7 @@ static int sctp_eps_seq_show(struct seq_file *seq, void *v) | |||
| 210 | struct sctp_ep_common *epb; | 210 | struct sctp_ep_common *epb; | 
| 211 | struct sctp_endpoint *ep; | 211 | struct sctp_endpoint *ep; | 
| 212 | struct sock *sk; | 212 | struct sock *sk; | 
| 213 | int hash = *(int *)v; | 213 | int hash = *(loff_t *)v; | 
| 214 | 214 | ||
| 215 | if (hash >= sctp_ep_hashsize) | 215 | if (hash >= sctp_ep_hashsize) | 
| 216 | return -ENOMEM; | 216 | return -ENOMEM; | 
| @@ -313,7 +313,7 @@ static int sctp_assocs_seq_show(struct seq_file *seq, void *v) | |||
| 313 | struct sctp_ep_common *epb; | 313 | struct sctp_ep_common *epb; | 
| 314 | struct sctp_association *assoc; | 314 | struct sctp_association *assoc; | 
| 315 | struct sock *sk; | 315 | struct sock *sk; | 
| 316 | int hash = *(int *)v; | 316 | int hash = *(loff_t *)v; | 
| 317 | 317 | ||
| 318 | if (hash >= sctp_assoc_hashsize) | 318 | if (hash >= sctp_assoc_hashsize) | 
| 319 | return -ENOMEM; | 319 | return -ENOMEM; | 
