[PATCH v2 3/4] opencl: Fix compiler warning.

Nakarin Khankham garuda2550 at gmail.com
Thu Mar 7 23:22:46 CST 2019


Signed-off-by: Nakarin Khankham <garuda2550 at gmail.com>
---
 dlls/opencl/opencl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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)
 {
     CONTEXT_CALLBACK *ccb;
     TRACE("(%s, %p, %ld, %p)\n", errinfo, private_info, (SIZE_T)cb, user_data);
@@ -828,7 +828,7 @@ typedef struct
     void *user_data;
 } PROGRAM_CALLBACK;
 
-static void program_fn_notify(cl_program program, void * user_data)
+static void WINAPI program_fn_notify(cl_program program, void * user_data)
 {
     PROGRAM_CALLBACK *pcb;
     TRACE("(%p, %p)\n", program, user_data);
-- 
2.17.1





More information about the wine-devel mailing list