From 6da45b05106ee89e5b935d4efb1909f525b25986 Mon Sep 17 00:00:00 2001 From: mycroft Date: Mon, 19 Apr 1993 10:27:26 +0000 Subject: Fix bug I introduced. --- cribbage/io.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cribbage/io.c') diff --git a/cribbage/io.c b/cribbage/io.c index 0d795168..244ac702 100644 --- a/cribbage/io.c +++ b/cribbage/io.c @@ -376,9 +376,9 @@ static int Newpos = 0; /* VARARGS1 */ msg(fmt,ap) char *fmt; - _VA_LIST_ ap; + va_list ap; { - (void)vsprintf(&Msgbuf[Newpos], fmt, ap); + (void)vsprintf(&Msgbuf[Newpos], fmt, &ap); endmsg(); } @@ -389,9 +389,9 @@ msg(fmt,ap) /* VARARGS1 */ addmsg(fmt,ap) char *fmt; - _VA_LIST_ ap; + va_list ap; { - (void)vsprintf(&Msgbuf[Newpos], fmt, ap); + (void)vsprintf(&Msgbuf[Newpos], fmt, &ap); } /* -- cgit v1.2.3-56-ge451