[X25]: fix kernel error message 64 bit kernel

Fixes the following error from kernel
T2 kernel: schedule_timeout:
wrong timeout value ffffffffffffffff from ffffffff88164796

Signed-off-by: Shaun Pereira <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Shaun Pereira 2006-03-22 00:00:40 -08:00 • committed by David S. Miller
commit bac37ec830

View file

@ -744,7 +744,7 @@ out:
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;