=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/nice/nice.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- src/usr.bin/nice/nice.c 2009/10/27 23:59:41 1.11 +++ src/usr.bin/nice/nice.c 2013/11/20 20:52:12 1.12 @@ -1,4 +1,4 @@ -/* $OpenBSD: nice.c,v 1.11 2009/10/27 23:59:41 deraadt Exp $ */ +/* $OpenBSD: nice.c,v 1.12 2013/11/20 20:52:12 deraadt Exp $ */ /* $NetBSD: nice.c,v 1.9 1995/08/31 23:30:58 jtc Exp $ */ /* @@ -54,7 +54,7 @@ setlocale(LC_ALL, ""); /* handle obsolete -number syntax */ - if (argc > 1 && argv[1][0] == '-' && isdigit(argv[1][1])) { + if (argc > 1 && argv[1][0] == '-' && isdigit((unsigned char)argv[1][1])) { niceness = atoi(argv[1] + 1); argc--; argv++;