Skip to content
Commit 1a5d47ef authored by Kumar Gala's avatar Kumar Gala Committed by Carles Cufí
Browse files

modem: wncm14a2a: fix warning with isalpha/isdigit



When building with arm-clang we get warnings of the type:

wncm14a2a.c:828:14: error: array subscript is of type
			   'char' [-Werror,-Wchar-subscripts]:
                } else if (isalpha(c2) != 0) {
                           ^~~~~~~~~~~

Fix this by adding explicit casts to (int) when callinng isalpha()
or isdigit().

Signed-off-by: default avatarKumar Gala <kumar.gala@intel.com>
parent 48cd295a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment