diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-26 10:19:19 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-26 10:19:19 -0800 |
commit | 08a890e4aae307d874bd617f4dc742a56f2064a2 (patch) | |
tree | aa5152066057bc3916dd25d0960fa755471628ff /src/server/gdb_server.c | |
parent | f9d203d1e6656041affc09528ac373a2b32497ee (diff) | |
download | riscv-openocd-08a890e4aae307d874bd617f4dc742a56f2064a2.zip riscv-openocd-08a890e4aae307d874bd617f4dc742a56f2064a2.tar.gz riscv-openocd-08a890e4aae307d874bd617f4dc742a56f2064a2.tar.bz2 |
cygwin 1.7 build fixes
It's less accepting of signed char ... insisting that e.g. tolower()
not receive one as a parameter.
It's probably good to phase out such usage, given the number of bugs
that lurk in the vicinity (assumptions that char is unsigned), so fix
these even though such usage is actually legal.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/server/gdb_server.c')
-rw-r--r-- | src/server/gdb_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 8798ae0..cf62864 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -943,7 +943,7 @@ void gdb_str_to_target(struct target *target, char *tstr, struct reg *reg) } } -static int hextoint(char c) +static int hextoint(int c) { if (c>='0'&&c<='9') { |