forked from auracaster/openocd
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>
This commit is contained in:
@@ -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')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user