diff options
author | 2013-11-26 13:18:53 +0000 | |
---|---|---|
committer | 2013-11-26 13:18:53 +0000 | |
commit | 6cd4fad2c367a960587b848cba814f7a2ee9280c (patch) | |
tree | edd224b3ecdcb78ffd0ceb225a9885c7ab0f2d15 /usr.bin/column/column.c | |
parent | unsigned char cast for ctype; ok guenther (diff) | |
download | wireguard-openbsd-6cd4fad2c367a960587b848cba814f7a2ee9280c.tar.xz wireguard-openbsd-6cd4fad2c367a960587b848cba814f7a2ee9280c.zip |
unsigned char casts for ctype
ok krw
Diffstat (limited to 'usr.bin/column/column.c')
-rw-r--r-- | usr.bin/column/column.c | 4 |
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'))) { |