diff options
| author | Roy Marples <roy@marples.name> | 2008-04-17 10:19:58 +0000 | 
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-04-17 10:19:58 +0000 | 
| commit | f0aacec02eb04f1843cc5c729fd5510c2342660c (patch) | |
| tree | 6f2ed637801be469663811f92e0833714ff4eb22 /src/rc/rc.c | |
| parent | 57e1dd7389229718b170d5c6fe52b0b051729801 (diff) | |
| download | openrc-f0aacec02eb04f1843cc5c729fd5510c2342660c.tar.xz | |
Cast to unsigned char for ctype calls.
Diffstat (limited to 'src/rc/rc.c')
| -rw-r--r-- | src/rc/rc.c | 2 | 
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); | 
