ser-tcp.c:tcp_retry_limit: Change type to unsigned int.
authorPedro Alves <palves@redhat.com>
Thu, 7 Mar 2013 17:36:25 +0000 (17:36 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 7 Mar 2013 17:36:25 +0000 (17:36 +0000)
commit964b8317b43058870b9631fbaedc7e7b646e643b
treea1a9f94843293367aefda94bfa35fb67c9c8ee2e
parentf0cc8ad436c3d86783ceaa2febd2919ef5f996fa
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.
gdb/ChangeLog
gdb/ser-tcp.c