diff options
author | Pedro Alves <palves@redhat.com> | 2014-10-13 21:45:40 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2014-10-13 23:06:05 +0100 |
commit | 58da9bdea03d5b96943696b6c7e69bef6ef419cc (patch) | |
tree | ffbc1dd1152339a9f1289e36f66de3929023d9c6 /gdb/ser-tcp.c | |
parent | fabd3880c70c46c1511e2b778b002fa64e521852 (diff) | |
download | binutils-gdb-palves/cxx-conversion-attempt.tar.gz |
Make GDB build with both g++ and gcc, on x86_64 Fedora 20palves/cxx-conversion-attempt
Diffstat (limited to 'gdb/ser-tcp.c')
-rw-r--r-- | gdb/ser-tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c index 56000013a0e..76dbce3bf91 100644 --- a/gdb/ser-tcp.c +++ b/gdb/ser-tcp.c @@ -177,7 +177,7 @@ net_open (struct serial *scb, const char *name) else if (strncmp (name, "tcp:", 4) == 0) name = name + 4; - port_str = strchr (name, ':'); + port_str = strchr ((char *) name, ':'); if (!port_str) error (_("net_open: No colon in host name!")); /* Shouldn't ever |