summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-10-24 00:56:53 +0000
committermillert <millert@openbsd.org>1997-10-24 00:56:53 +0000
commitcd1076a7119f1e9edb040df9153fa705202487ac (patch)
treeaec968ef02af8aca1cd7a223cd4e33455dd7185a
parentuse real boot device (diff)
downloadwireguard-openbsd-cd1076a7119f1e9edb040df9153fa705202487ac.tar.xz
wireguard-openbsd-cd1076a7119f1e9edb040df9153fa705202487ac.zip
Use int not char in two places. Noted by Dale.
-rw-r--r--usr.bin/m4/expr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/m4/expr.c b/usr.bin/m4/expr.c
index 30ab96d644a..4c7fe084a96 100644
--- a/usr.bin/m4/expr.c
+++ b/usr.bin/m4/expr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: expr.c,v 1.2 1996/06/26 05:36:11 deraadt Exp $ */
+/* $OpenBSD: expr.c,v 1.3 1997/10/24 00:56:53 millert Exp $ */
/* $NetBSD: expr.c,v 1.7 1995/09/28 05:37:31 tls Exp $ */
/*
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)expr.c 8.2 (Berkeley) 4/29/95";
#else
-static char rcsid[] = "$OpenBSD: expr.c,v 1.2 1996/06/26 05:36:11 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: expr.c,v 1.3 1997/10/24 00:56:53 millert Exp $";
#endif
#endif /* not lint */
@@ -431,7 +431,7 @@ constant()
{
register int i;
register int value;
- register char c;
+ register int c;
int v[sizeof(int)];
if (skipws() != '\'') {
@@ -561,7 +561,7 @@ geteqrel()
static int
skipws()
{
- register char c;
+ register int c;
while ((c = getch()) <= ' ' && c > EOS)
;