summaryrefslogtreecommitdiffstats
path: root/cribbage/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'cribbage/io.c')
-rw-r--r--cribbage/io.c8
1 files changed, 4 insertions, 4 deletions
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);
}
/*