diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-24 01:06:20 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-24 01:06:20 +0000 |
commit | 9fa5a397426b739e9289fb6fde63a7b1d505db1c (patch) | |
tree | cda1e16693ec05345ea20c73c742be5c2748ebe1 /usr.sbin/sa/main.c | |
parent | a558abec9359523a726dbcdbdf990d25b9e1fa65 (diff) |
more unsigned char casts for ctype
ok jca
Diffstat (limited to 'usr.sbin/sa/main.c')
-rw-r--r-- | usr.sbin/sa/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sa/main.c b/usr.sbin/sa/main.c index 741f84a9ef3..f7c0f1c4f15 100644 --- a/usr.sbin/sa/main.c +++ b/usr.sbin/sa/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.11 2009/10/27 23:59:54 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.12 2013/11/24 01:06:19 deraadt Exp $ */ /* * Copyright (c) 1994 Christopher G. Demetriou * All rights reserved. @@ -316,7 +316,7 @@ acct_load(char *pn, int wr) ci.ci_calls = 1; for (i = 0; i < sizeof(ac.ac_comm) && ac.ac_comm[i] != '\0'; i++) { - char c = ac.ac_comm[i]; + unsigned char c = ac.ac_comm[i]; if (!isascii(c) || iscntrl(c)) { ci.ci_comm[i] = '?'; |