summaryrefslogtreecommitdiffstats
path: root/sail/pl_5.c
diff options
context:
space:
mode:
authordsl <dsl@NetBSD.org>2004-11-05 21:30:31 +0000
committerdsl <dsl@NetBSD.org>2004-11-05 21:30:31 +0000
commit9649fe0209de88926626165951e2db3043b73ee6 (patch)
treef7d328358e6de9a877c8d0fc24f5ae49ad21f031 /sail/pl_5.c
parentef4d58572f66f86a3db4aa555d139fee63cca10c (diff)
downloadbsdgames-darwin-9649fe0209de88926626165951e2db3043b73ee6.tar.gz
bsdgames-darwin-9649fe0209de88926626165951e2db3043b73ee6.tar.zst
bsdgames-darwin-9649fe0209de88926626165951e2db3043b73ee6.zip
Add (unsigned char) cast to ctype functions
Diffstat (limited to 'sail/pl_5.c')
-rw-r--r--sail/pl_5.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sail/pl_5.c b/sail/pl_5.c
index c8d9229e..b3bdd77a 100644
--- a/sail/pl_5.c
+++ b/sail/pl_5.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pl_5.c,v 1.16 2003/08/07 09:37:44 agc Exp $ */
+/* $NetBSD: pl_5.c,v 1.17 2004/11/05 21:30:32 dsl Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)pl_5.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: pl_5.c,v 1.16 2003/08/07 09:37:44 agc Exp $");
+__RCSID("$NetBSD: pl_5.c,v 1.17 2004/11/05 21:30:32 dsl Exp $");
#endif
#endif /* not lint */
@@ -122,7 +122,7 @@ acceptmove(void)
*p-- = '\0';
break;
default:
- if (!isspace(*p)) {
+ if (!isspace((unsigned char)*p)) {
Msg("Input error.");
*p-- = '\0';
}