aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ser-tcp.c')
-rw-r--r--gdb/ser-tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c
index 34c6af1..a818c65 100644
--- a/gdb/ser-tcp.c
+++ b/gdb/ser-tcp.c
@@ -83,7 +83,7 @@ static unsigned int tcp_retry_limit = 15;
Returns -1 on timeout or interrupt, otherwise the value of select. */
static int
-wait_for_connect (struct serial *scb, int *polls)
+wait_for_connect (struct serial *scb, unsigned int *polls)
{
struct timeval t;
int n;
@@ -165,7 +165,7 @@ net_open (struct serial *scb, const char *name)
#else
int ioarg;
#endif
- int polls = 0;
+ unsigned int polls = 0;
use_udp = 0;
if (strncmp (name, "udp:", 4) == 0)