[PATCH v2 3/4] opencl: Fix compiler warning.
Alexandre Julliard
julliard at winehq.org
Sat Mar 9 04:51:11 CST 2019
Nakarin Khankham <garuda2550 at gmail.com> writes:
> diff --git a/dlls/opencl/opencl.c b/dlls/opencl/opencl.c
> index 0dbc780279..9ea96a5e3a 100644
> --- a/dlls/opencl/opencl.c
> +++ b/dlls/opencl/opencl.c
> @@ -483,7 +483,7 @@ typedef struct
> void *user_data;
> } CONTEXT_CALLBACK;
>
> -static void context_fn_notify(const char *errinfo, const void *private_info, size_t cb, void *user_data)
> +static void WINAPI context_fn_notify(const char *errinfo, const void *private_info, size_t cb, void *user_data)
The Unix functions don't use WINAPI. If they did, there wouldn't be any
need for these wrappers.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list