summaryrefslogtreecommitdiff
path: root/usr.bin/column
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-26 13:19:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-26 13:19:08 +0000
commit9c87bfa9d5ea46fd4fe5c8edb947aec28e748573 (patch)
tree8be8e4e1654412e91168bb2f405a3a753d0c8972 /usr.bin/column
parent60adb56e9c39b26c1401c07dc1d1c8f79489daed (diff)
unsigned char casts for ctype
ok krw
Diffstat (limited to 'usr.bin/column')
-rw-r--r--usr.bin/column/column.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/column/column.c b/usr.bin/column/column.c
index d3b96a2822c..9cd597cab5d 100644
--- a/usr.bin/column/column.c
+++ b/usr.bin/column/column.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: column.c,v 1.15 2009/10/27 23:59:36 deraadt Exp $ */
+/* $OpenBSD: column.c,v 1.16 2013/11/26 13:18:55 deraadt Exp $ */
/* $NetBSD: column.c,v 1.4 1995/09/02 05:53:03 jtc Exp $ */
/*
@@ -256,7 +256,7 @@ input(FILE *fp)
if (!list)
list = emalloc((maxentry = DEFNUM) * sizeof(char *));
while (fgets(buf, MAXLINELEN, fp)) {
- for (p = buf; isspace(*p); ++p);
+ for (p = buf; isspace((unsigned char)*p); ++p);
if (!*p)
continue;
if (!(p = strchr(p, '\n'))) {