From f0aacec02eb04f1843cc5c729fd5510c2342660c Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 17 Apr 2008 10:19:58 +0000 Subject: Cast to unsigned char for ctype calls. --- src/rc/rc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rc/rc.c') diff --git a/src/rc/rc.c b/src/rc/rc.c index dee0732..b814923 100644 --- a/src/rc/rc.c +++ b/src/rc/rc.c @@ -582,7 +582,7 @@ static void do_coldplug(void) strncmp(d->d_name, "ums", 3) == 0) { p = d->d_name + 3; - if (p && isdigit((int) *p)) { + if (p && isdigit((unsigned char)*p)) { l = strlen("moused.") + strlen(d->d_name) + 1; service = xmalloc(sizeof(char) * l); snprintf (service, l, "moused.%s", d->d_name); -- cgit v1.2.3