summaryrefslogtreecommitdiffstats
path: root/hack/hack.main.c
diff options
context:
space:
mode:
Diffstat (limited to 'hack/hack.main.c')
-rw-r--r--hack/hack.main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hack/hack.main.c b/hack/hack.main.c
index 930de44d..5f62384d 100644
--- a/hack/hack.main.c
+++ b/hack/hack.main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.main.c,v 1.9 2004/01/27 20:30:29 jsm Exp $ */
+/* $NetBSD: hack.main.c,v 1.10 2008/01/28 06:55:41 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -63,7 +63,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.main.c,v 1.9 2004/01/27 20:30:29 jsm Exp $");
+__RCSID("$NetBSD: hack.main.c,v 1.10 2008/01/28 06:55:41 dholland Exp $");
#endif /* not lint */
#include <signal.h>
@@ -513,7 +513,7 @@ askname()
if (c != '-')
if (c < 'A' || (c > 'Z' && c < 'a') || c > 'z')
c = '_';
- if (ct < sizeof(plname) - 1)
+ if (ct < (int)sizeof(plname) - 1)
plname[ct++] = c;
}
plname[ct] = 0;