summaryrefslogtreecommitdiff
path: root/usr.bin/tic
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-28 18:24:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-28 18:24:56 +0000
commit9ded258538048c1f43dc85086860c61c35922e09 (patch)
tree32ddd5f4ef7b436807cb3baba9a4ac548a387c08 /usr.bin/tic
parent5f9bbfc4c0ee0acd7c9daade1225c685ee6b5bdb (diff)
unsigned char for ctype
ok krw okan
Diffstat (limited to 'usr.bin/tic')
-rw-r--r--usr.bin/tic/tic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tic/tic.c b/usr.bin/tic/tic.c
index 2a7019fbe58..d55f609ee3f 100644
--- a/usr.bin/tic/tic.c
+++ b/usr.bin/tic/tic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tic.c,v 1.30 2010/01/12 23:22:14 nicm Exp $ */
+/* $OpenBSD: tic.c,v 1.31 2013/11/28 18:24:55 deraadt Exp $ */
/****************************************************************************
* Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. *
@@ -46,7 +46,7 @@
#include <dump_entry.h>
#include <transform.h>
-MODULE_ID("$Id: tic.c,v 1.30 2010/01/12 23:22:14 nicm Exp $")
+MODULE_ID("$Id: tic.c,v 1.31 2013/11/28 18:24:55 deraadt Exp $")
const char *_nc_progname = "tic";
@@ -1159,7 +1159,7 @@ check_params(TERMTYPE *tp, const char *name, char *value)
_nc_warning("expected character after %% in %s", name);
break;
} else if (*s == 'p') {
- if (*++s == '\0' || !isdigit((int) *s)) {
+ if (*++s == '\0' || !isdigit(UChar(*s))) {
_nc_warning("expected digit after %%p in %s", name);
return;
} else {