This is an automated email from Gerrit. Spencer Oliver ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2100
-- gerrit commit 52d5a0c2a5417d25646678d240a4734683d9e677 Author: Spencer Oliver <[email protected]> Date: Wed Apr 9 15:08:30 2014 +0100 usb_blaster: fix warning: array subscript has type ‘char’ caught by clang 3.4 running on cygwin. Change-Id: I59f652337334e557fb50374f5270ba9c30392b6e Signed-off-by: Spencer Oliver <[email protected]> diff --git a/src/jtag/drivers/usb_blaster/usb_blaster.c b/src/jtag/drivers/usb_blaster/usb_blaster.c index 5335ce4..55725eb 100644 --- a/src/jtag/drivers/usb_blaster/usb_blaster.c +++ b/src/jtag/drivers/usb_blaster/usb_blaster.c @@ -952,7 +952,7 @@ COMMAND_HANDLER(ublast_handle_pin_command) if (strlen(pin_value) > 1) val = '?'; - switch (tolower(val)) { + switch (tolower((int)val)) { case '0': *steer = FIXED_0; break; -- ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
