From 34d9c5213c95996c9ed12d794ae3ad586830af88 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sat, 6 May 2017 21:45:43 +0200 Subject: [PATCH] emscripten: Fixed return type in event callback declaration. --- src/video/emscripten/SDL_emscriptenevents.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/video/emscripten/SDL_emscriptenevents.h b/src/video/emscripten/SDL_emscriptenevents.h index 3a26fa293..f6d796fcb 100644 --- a/src/video/emscripten/SDL_emscriptenevents.h +++ b/src/video/emscripten/SDL_emscriptenevents.h @@ -31,8 +31,9 @@ Emscripten_RegisterEventHandlers(SDL_WindowData *data); extern void Emscripten_UnregisterEventHandlers(SDL_WindowData *data); -extern int +extern EM_BOOL Emscripten_HandleCanvasResize(int eventType, const void *reserved, void *userData); + #endif /* _SDL_emscriptenevents_h */ /* vi: set ts=4 sw=4 expandtab: */