From 4f459a9532e5b15272261635f315e2a5906e3771 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sat, 10 Mar 2018 21:48:22 +0200 Subject: [PATCH] Fix WINCHAIN compilation --- include/winprocs.h | 2 +- win/chain/wc_chainout.c | 2 +- win/chain/wc_trace.c | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/winprocs.h b/include/winprocs.h index 4d0d395a1..3c19d4f03 100644 --- a/include/winprocs.h +++ b/include/winprocs.h @@ -359,7 +359,7 @@ struct chain_procs { void FDECL((*win_status_finish), (CARGS)); void FDECL((*win_status_enablefield), (CARGS, int, const char *, const char *, BOOLEAN_P)); - void FDECL((*win_status_update), (CARGS, int, genericptr_t, int, int, int, unsigned long)); + void FDECL((*win_status_update), (CARGS, int, genericptr_t, int, int, int, unsigned long *)); boolean FDECL((*win_can_suspend), (CARGS)); }; #endif /* WINCHAIN */ diff --git a/win/chain/wc_chainout.c b/win/chain/wc_chainout.c index 593bd6cd8..af964438c 100644 --- a/win/chain/wc_chainout.c +++ b/win/chain/wc_chainout.c @@ -620,7 +620,7 @@ boolean enable; void chainout_status_update(vp, idx, ptr, chg, percent, color, colormasks) void *vp; -int idx, chg, percent; +int idx, chg, percent, color; genericptr_t ptr; unsigned long *colormasks; { diff --git a/win/chain/wc_trace.c b/win/chain/wc_trace.c index 60877623d..ec81f0a8b 100644 --- a/win/chain/wc_trace.c +++ b/win/chain/wc_trace.c @@ -1083,9 +1083,9 @@ boolean enable; } void -trace_status_update(vp, idx, ptr, chg, color, colormasks) +trace_status_update(vp, idx, ptr, chg, percent, color, colormasks) void *vp; -int idx, chg, percent; +int idx, chg, percent, color; genericptr_t ptr; unsigned long *colormasks; { @@ -1095,7 +1095,7 @@ unsigned long *colormasks; ptr, chg, percent); PRE; - (*tdp->nprocs->win_status_update)(tdp->ndata, idx, ptr, chg, color colormasks); + (*tdp->nprocs->win_status_update)(tdp->ndata, idx, ptr, chg, percent, color, colormasks); POST; }