diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-26 13:19:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-26 13:19:08 +0000 |
commit | 9c87bfa9d5ea46fd4fe5c8edb947aec28e748573 (patch) | |
tree | 8be8e4e1654412e91168bb2f405a3a753d0c8972 /usr.bin/logger/logger.c | |
parent | 60adb56e9c39b26c1401c07dc1d1c8f79489daed (diff) |
unsigned char casts for ctype
ok krw
Diffstat (limited to 'usr.bin/logger/logger.c')
-rw-r--r-- | usr.bin/logger/logger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/logger/logger.c b/usr.bin/logger/logger.c index c26b588393c..f87af059f5b 100644 --- a/usr.bin/logger/logger.c +++ b/usr.bin/logger/logger.c @@ -1,4 +1,4 @@ -/* $OpenBSD: logger.c,v 1.11 2009/10/27 23:59:40 deraadt Exp $ */ +/* $OpenBSD: logger.c,v 1.12 2013/11/26 13:19:07 deraadt Exp $ */ /* $NetBSD: logger.c,v 1.4 1994/12/22 06:27:00 jtc Exp $ */ /* @@ -157,7 +157,7 @@ decode(char *name, CODE *codetab) { CODE *c; - if (isdigit(*name)) + if (isdigit((unsigned char)*name)) return (atoi(name)); for (c = codetab; c->c_name; c++) |