summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2002-02-24 01:24:25 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2002-02-24 01:24:25 +0000
commit431c0ec1f2305165e4cb70fbb03ffab0d9e20bb4 (patch)
treeddea722adf4af5abcf2bb6f85b08452af36c2616 /usr.bin
parentda59bc39c234054441dc64bb5cd45b947c45ff16 (diff)
getchar(3) returns an int, not a char
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/vgrind/RETEST/retest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/vgrind/RETEST/retest.c b/usr.bin/vgrind/RETEST/retest.c
index f5d8652a2c1..3c8e97e2878 100644
--- a/usr.bin/vgrind/RETEST/retest.c
+++ b/usr.bin/vgrind/RETEST/retest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: retest.c,v 1.2 1996/06/26 05:42:34 deraadt Exp $ */
+/* $OpenBSD: retest.c,v 1.3 2002/02/24 01:24:24 pvalchev Exp $ */
/* $NetBSD: retest.c,v 1.2 1994/11/17 08:28:18 jtc Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)retest.c 8.1 (Berkeley) 6/6/93";
#endif
-static char rcsid[] = "$OpenBSD: retest.c,v 1.2 1996/06/26 05:42:34 deraadt Exp $":
+static char rcsid[] = "$OpenBSD: retest.c,v 1.3 2002/02/24 01:24:24 pvalchev Exp $":
#endif /* not lint */
#include <ctype.h>
@@ -61,7 +61,7 @@ main()
char str[132];
char *match;
char matstr[132];
- char c;
+ int c;
while (1) {
printf ("\nexpr: ");