Windows callback requires `long` return type

This commit is contained in:
rh101 2021-09-02 21:21:28 +10:00
parent 5e0a717aa5
commit 73ad51b4e0
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ bool TestController::blockTouchBegan(Touch* touch, Event* event)
#if CC_TARGET_PLATFORM == CC_PLATFORM_WIN32
#include <windows.h>
static int32_t __stdcall windowExceptionFilter(_EXCEPTION_POINTERS* excp)
static long __stdcall windowExceptionFilter(_EXCEPTION_POINTERS* excp)
{
if (s_testController)
{