vcomp: Fix varargs calling conventions.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-02-18 22:37:28 +01:00
parent e9dd8ac8f2
commit 5b1c2668b2
2 changed files with 2 additions and 2 deletions

View File

@ -1772,7 +1772,7 @@ static void CDECL c2vectparallel_wrapper(int start, int end, int step, int end_i
_vcomp_fork_call_wrapper(function, nargs, wrapper_args);
}
void CDECL C2VectParallel(int start, int end, int step, BOOL end_included, int thread_count,
void WINAPIV C2VectParallel(int start, int end, int step, BOOL end_included, int thread_count,
BOOL dynamic_distribution, void *function, int nargs, ...)
{
struct vcomp_thread_data *thread_data;

View File

@ -23,7 +23,7 @@
static HMODULE vcomp_handle;
static void (CDECL *pC2VectParallel)(int start, int end, int step, BOOL end_included, int thread_count,
static void (WINAPIV *pC2VectParallel)(int start, int end, int step, BOOL end_included, int thread_count,
BOOL dynamic_distribution, void *function, int nargs, ...);
static int (CDECL *p_vcomp_get_thread_num)(void);
static int (CDECL *pomp_get_num_threads)(void);