From cab59c73fc616c23bf510dd875363da08ce1850c Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 5 Jun 2014 13:10:43 +0200 Subject: windows: Use WINAPI call convention for Windows API callbacks For x86_64 it does not actually matter, but for i686 builds the call convention is different with WINAPI. --- src/libstrongswan/utils/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstrongswan/utils/utils.c') diff --git a/src/libstrongswan/utils/utils.c b/src/libstrongswan/utils/utils.c index 8ef9a1f33..02a720945 100644 --- a/src/libstrongswan/utils/utils.c +++ b/src/libstrongswan/utils/utils.c @@ -247,7 +247,7 @@ static mutex_t *sigint_mutex; /** * Control handler to catch ^C */ -static BOOL handler(DWORD dwCtrlType) +static BOOL WINAPI handler(DWORD dwCtrlType) { switch (dwCtrlType) { -- cgit v1.2.3