summaryrefslogtreecommitdiff
path: root/src/TMparse.c
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2013-06-25 23:02:48 +0200
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-09 23:33:27 -0700
commit9dc5fb0b9640b79a234b58e640e05d8276556beb (patch)
tree9dda9e2907e94a88faa8aed7fb96c66c01a4af8f /src/TMparse.c
parent3919044bd7d3bcb85ce3425a43b8889a248a7542 (diff)
downloadxorg-lib-libXt-9dc5fb0b9640b79a234b58e640e05d8276556beb.tar.gz
Fix char vs. unsigned char warnings.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/TMparse.c')
-rw-r--r--src/TMparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TMparse.c b/src/TMparse.c
index 83b39d5..df94181 100644
--- a/src/TMparse.c
+++ b/src/TMparse.c
@@ -1472,10 +1472,10 @@ static String ParseRepeat(
{
/*** Parse the repetitions, for double click etc... ***/
- if (*str != '(' || !(isdigit(str[1]) || str[1] == '+' || str[1] == ')'))
+ if (*str != '(' || !(isdigit((unsigned char)str[1]) || str[1] == '+' || str[1] == ')'))
return str;
str++;
- if (isdigit(*str)) {
+ if (isdigit((unsigned char)*str)) {
String start = str;
char repStr[7];
size_t len;