Skip to content
Browse files

Change idle timeout to time_t to fix signed/unsigned comparison warning

Signed-off-by: Steve Glendinning <>
  • Loading branch information...
1 parent 3d1412a commit 977887e548d80c46e53459f8e2f7ac60a3ebf61d @steveglen steveglen committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 libcli.h
2 libcli.h
@@ -60,7 +60,7 @@ struct cli_def {
char *buffer;
unsigned buf_size;
struct timeval timeout_tm;
- unsigned int idle_timeout;
+ time_t idle_timeout;
int (*idle_timeout_callback)(struct cli_def *);
time_t last_action;
int telnet_protocol;

0 comments on commit 977887e

Please sign in to comment.
Something went wrong with that request. Please try again.