summaryrefslogtreecommitdiffstats
path: root/include/net/llc_c_ev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/llc_c_ev.h')
-rw-r--r--include/net/llc_c_ev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/llc_c_ev.h b/include/net/llc_c_ev.h
index 23a409381fa9..6ca3113df39e 100644
--- a/include/net/llc_c_ev.h
+++ b/include/net/llc_c_ev.h
@@ -264,6 +264,6 @@ extern int llc_conn_ev_qlfy_set_status_rst_done(struct sock *sk,
static __inline__ int llc_conn_space(struct sock *sk, struct sk_buff *skb)
{
return atomic_read(&sk->sk_rmem_alloc) + skb->truesize <
- (unsigned)sk->sk_rcvbuf;
+ (unsigned int)sk->sk_rcvbuf;
}
#endif /* LLC_C_EV_H */