summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-06-25 17:58:29 +0000
committermidipix <writeonce@midipix.org>2020-06-25 17:58:29 +0000
commitf857247ff88ce2c55c8f73343b7e00330cc94cf0 (patch)
treeabe500391623caee60d5cd09c53f1d871809e9bc
parentbbb5d06bc958a711e6b2a1df3214b1fd7b858bb0 (diff)
downloadntapi-f857247ff88ce2c55c8f73343b7e00330cc94cf0.tar.bz2
ntapi-f857247ff88ce2c55c8f73343b7e00330cc94cf0.tar.xz
__ntapi_dsr_start_impl(): use correct (32-bit) entry-point signature.
-rw-r--r--src/daemon/ntapi_dsr_init.c2
1 files changed, 1 insertions, 1 deletions
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;