summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv/mkalias/mkalias.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ypserv/mkalias/mkalias.c')
-rw-r--r--usr.sbin/ypserv/mkalias/mkalias.c8
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++;
}
}