summaryrefslogtreecommitdiff
path: root/regress/lib/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib/libpthread')
-rw-r--r--regress/lib/libpthread/stdarg/stdarg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/lib/libpthread/stdarg/stdarg.c b/regress/lib/libpthread/stdarg/stdarg.c
index a3e07d58a21..5e10f6d3cd8 100644
--- a/regress/lib/libpthread/stdarg/stdarg.c
+++ b/regress/lib/libpthread/stdarg/stdarg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdarg.c,v 1.1 2001/08/15 14:37:16 fgsch Exp $ */
+/* $OpenBSD: stdarg.c,v 1.2 2001/08/15 14:48:31 fgsch Exp $ */
/* David Leonard <d@openbsd.org>, 2001. Public Domain. */
/*
@@ -21,7 +21,7 @@ test1(char *fmt, ...)
char ch;
int i;
- char c;
+ int c;
long l;
void *p;
char *ofmt = fmt;
@@ -34,7 +34,7 @@ test1(char *fmt, ...)
EQ(i, 1234);
break;
case 'c':
- c = va_arg(ap, char);
+ c = va_arg(ap, int);
EQ(c, 'x');
break;
case 'l':