cygwin 1.7 build fixes
[fw/openocd] / src / server / gdb_server.c
index 8798ae03c92110529db51775eff82ad594e01632..cf62864188feffda109dc007d92ed083479a7cbf 100644 (file)
@@ -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')
        {