diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-02-07 18:04:51 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-02-07 18:04:51 +0000 |
commit | 275d2897dd80815f7acb4d5da686886aa97d4e3a (patch) | |
tree | fd740673e6b8f4948554c25a85618a201487db73 /usr.bin/ssh/ssh-keyscan.c | |
parent | e6381dac98d1460c69e3a7ad54051f93d71fa4c5 (diff) |
fix size_t -> int cast (use u_long). markus ok
Diffstat (limited to 'usr.bin/ssh/ssh-keyscan.c')
-rw-r--r-- | usr.bin/ssh/ssh-keyscan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-keyscan.c b/usr.bin/ssh/ssh-keyscan.c index 96785af5040..35ab5ad102d 100644 --- a/usr.bin/ssh/ssh-keyscan.c +++ b/usr.bin/ssh/ssh-keyscan.c @@ -8,7 +8,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-keyscan.c,v 1.12 2001/02/04 15:32:26 stevesk Exp $"); +RCSID("$OpenBSD: ssh-keyscan.c,v 1.13 2001/02/07 18:04:50 itojun Exp $"); #include <sys/queue.h> #include <errno.h> @@ -470,7 +470,7 @@ conloop(void) seltime = c->c_tv; seltime.tv_sec -= now.tv_sec; seltime.tv_usec -= now.tv_usec; - if ((int) seltime.tv_usec < 0) { + if (seltime.tv_usec < 0) { seltime.tv_usec += 1000000; seltime.tv_sec--; } |