From f857247ff88ce2c55c8f73343b7e00330cc94cf0 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 25 Jun 2020 17:58:29 +0000 Subject: __ntapi_dsr_start_impl(): use correct (32-bit) entry-point signature. --- src/daemon/ntapi_dsr_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/ntapi_dsr_init.c b/src/daemon/ntapi_dsr_init.c index b9ee09b..d74806d 100644 --- a/src/daemon/ntapi_dsr_init.c +++ b/src/daemon/ntapi_dsr_init.c @@ -187,7 +187,7 @@ static int32_t __ntapi_dsr_start_impl(nt_daemon_params * params) { int32_t status; void * ctx; - int32_t (*loop)(void *); + int32_t (__stdcall *loop)(void *); ctx = params->daemon_loop_context; loop = params->daemon_loop_routine; -- cgit v1.2.3