ser-tcp.c:tcp_retry_limit: Change type to unsigned int.
tcp_retry_limit is installed as variable of an unsigned command: add_setshow_uinteger_cmd ("connect-timeout", class_obscure, &tcp_retry_limit, _("\ and I found no uses of the variable treating it as signed (like < 0 checks or some such). 2013-03-07 Pedro Alves <palves@redhat.com> * ser-tcp.c (tcp_retry_limit): Change type to unsigned int.
This commit is contained in:
parent
f0cc8ad436
commit
964b8317b4
|
@ -1,3 +1,7 @@
|
|||
2013-03-07 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* ser-tcp.c (tcp_retry_limit): Change type to unsigned int.
|
||||
|
||||
2013-03-07 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* remote.c (hex2bin, bin2hex): Move extern declarations to ...
|
||||
|
|
|
@ -72,7 +72,7 @@ static int tcp_auto_retry = 1;
|
|||
|
||||
/* Timeout period for connections, in seconds. */
|
||||
|
||||
static int tcp_retry_limit = 15;
|
||||
static unsigned int tcp_retry_limit = 15;
|
||||
|
||||
/* How many times per second to poll deprecated_ui_loop_hook. */
|
||||
|
||||
|
|
Loading…
Reference in New Issue