diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-23 17:38:16 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-23 17:38:16 +0000 |
commit | 0a53ec2461502f772a9dd430223ba7a507094c59 (patch) | |
tree | fd97128a5cd38cc401ea77935a38e7cade49f72c /usr.sbin/config/mkmakefile.c | |
parent | cd9f8458f2105861de013104373fdf11870cced9 (diff) |
unsigned char casts for ctype
ok jca
Diffstat (limited to 'usr.sbin/config/mkmakefile.c')
-rw-r--r-- | usr.sbin/config/mkmakefile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/config/mkmakefile.c b/usr.sbin/config/mkmakefile.c index 9af4dfbba0e..80886956084 100644 --- a/usr.sbin/config/mkmakefile.c +++ b/usr.sbin/config/mkmakefile.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mkmakefile.c,v 1.38 2013/10/29 15:37:56 espie Exp $ */ +/* $OpenBSD: mkmakefile.c,v 1.39 2013/11/23 17:38:15 deraadt Exp $ */ /* $NetBSD: mkmakefile.c,v 1.34 1997/02/02 21:12:36 thorpej Exp $ */ /* @@ -375,7 +375,7 @@ emitfiles(FILE *fp, int suffix) struct files *fi; int lpos, len, sp; const char *fpath; - int uppersuffix = toupper(suffix); + char uppersuffix = toupper((unsigned char)suffix); if (fprintf(fp, "%cFILES=", uppersuffix) < 0) return (1); |