aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/rc.c')
-rw-r--r--src/rc/rc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/rc.c b/src/rc/rc.c
index dee07324..b8149239 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);