aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h
index af92adf94..8a1f4b041 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -52,7 +52,7 @@ namespace tools
private:
#if defined(WIN32)
- static BOOL win_handler(DWORD type)
+ static BOOL WINAPI win_handler(DWORD type)
{
if (CTRL_C_EVENT == type || CTRL_BREAK_EVENT == type)
{