diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c index a41cc0201760..03725c051752 100644 --- a/net/x25/af_x25.c +++ b/net/x25/af_x25.c @@ -744,7 +744,7 @@ static int x25_connect(struct socket *sock, struct sockaddr *uaddr, return rc; } -static int x25_wait_for_data(struct sock *sk, int timeout) +static int x25_wait_for_data(struct sock *sk, long timeout) { DECLARE_WAITQUEUE(wait, current); int rc = 0;