diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-04-03 05:01:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-04-03 05:01:25 +0000 |
commit | 167baa6dbeaf7a2b1770b810f3bc927d0ae07723 (patch) | |
tree | c31ac5991928356aadf930b29b30dd4c537f01ac /usr.sbin/ypserv/mkalias | |
parent | d44b084ee2cb948833f128a82b459f950e44a682 (diff) |
spreading the lint love (very minimal things..)
Diffstat (limited to 'usr.sbin/ypserv/mkalias')
-rw-r--r-- | usr.sbin/ypserv/mkalias/mkalias.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ypserv/mkalias/mkalias.c b/usr.sbin/ypserv/mkalias/mkalias.c index e2058c82ceb..93bc4882f6b 100644 --- a/usr.sbin/ypserv/mkalias/mkalias.c +++ b/usr.sbin/ypserv/mkalias/mkalias.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mkalias.c,v 1.16 2003/07/18 22:58:56 david Exp $ */ +/* $OpenBSD: mkalias.c,v 1.17 2006/04/03 05:01:22 deraadt Exp $ */ /* * Copyright (c) 1997 Mats O Jansson <moj@stacken.kth.se> @@ -26,8 +26,8 @@ * SUCH DAMAGE. */ -#ifndef LINT -static const char rcsid[] = "$OpenBSD: mkalias.c,v 1.16 2003/07/18 22:58:56 david Exp $"; +#ifndef lint +static const char rcsid[] = "$OpenBSD: mkalias.c,v 1.17 2006/04/03 05:01:22 deraadt Exp $"; #endif #include <ctype.h> @@ -121,7 +121,7 @@ capitalize(char *name, int len) if (last == '.') { for (c = name; i < len; i++) { if (last == '.') - *c = toupper(*c); + *c = (char)toupper(*c); last = *c++; } } |