diff options
author | Taylor R Campbell <riastradh@netbsd.org> | 2022-04-04 14:53:48 +0200 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-05-07 18:09:36 +0000 |
commit | 01c0b0365a50a08e69dffe3c63ac62343560b26c (patch) | |
tree | 1b9d75ed332d956f7cd8daf62a2ec0e2d3461076 /src/DisplayList.c | |
parent | 794367d1ac396842c0213064ebcfe1f4e2219657 (diff) | |
download | xorg-lib-libXaw-01c0b0365a50a08e69dffe3c63ac62343560b26c.tar.gz |
Fix ctype(3) users.
The API requires "unsigned char" arguments.
Signed-off-by: Thomas Klausner <tk@giga.or.at>
Diffstat (limited to 'src/DisplayList.c')
-rw-r--r-- | src/DisplayList.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DisplayList.c b/src/DisplayList.c index 1c79035..ae5e7c6 100644 --- a/src/DisplayList.c +++ b/src/DisplayList.c @@ -1941,7 +1941,7 @@ _Xaw_Xlib_ArgsInitProc(String proc_name, String *params, Cardinal *num_params, case EXPOSURES: if (*num_params == 1) { - if (isdigit(params[0][0]) || params[0][0] == '+' || params[0][0] == '-') + if (isdigit((unsigned char)params[0][0]) || params[0][0] == '+' || params[0][0] == '-') retval = (void *)read_int((char *)params[0], NULL); else if (XmuCompareISOLatin1(params[0], "true") == 0 || XmuCompareISOLatin1(params[0], "on") == 0) |