Files
openocd/src/flash/nor
Antonio Borneo 02903916dd flash/nor/nrf5: pass unsigned char to isalnum()
In newlib, the argument of isalnum() and the similar functions in
ctype.h is checked to be either an int or an unsigned char.
Using a normal (signed) char triggers a compile time warning
	warning: array subscript has type ‘char’ [-Wchar-subscripts]

Rewrite the function to separate the internal unsigned char
operations from the (signed) char parameter.

Change-Id: I5f19115f0b2de2b5b35dc07ef4b58a96161268ee
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reported-by: Åke Rehnman <ake.rehnman@gmail.com>
Fixes: 5da746fa09 ("flash/nor/nrf5: detect newer devices without HWID table")
Reviewed-on: http://openocd.zylin.com/5545
Tested-by: jenkins
Reviewed-by: Ake Rehnman <ake.rehnman@gmail.com>
2020-04-12 22:02:01 +01:00
..
2020-03-02 15:11:45 +00:00
2019-03-27 08:57:14 +00:00
2020-03-07 15:31:09 +00:00
2020-03-07 15:31:09 +00:00
2020-04-05 14:11:18 +01:00
2019-08-04 09:31:38 +01:00
2020-02-06 17:15:21 +00:00
2019-04-24 21:11:18 +01:00
2016-05-24 22:30:55 +01:00
2019-03-27 08:57:14 +00:00
2019-05-14 19:38:00 +01:00
2016-05-24 22:30:01 +01:00
2019-03-27 08:57:14 +00:00
2016-05-24 22:30:55 +01:00
2018-12-19 13:16:45 +00:00
2019-03-27 08:57:14 +00:00
2019-03-27 08:57:14 +00:00
2019-03-27 08:57:14 +00:00
2019-03-27 08:57:14 +00:00