emscripten: Fixed return type in event callback declaration.
diff --git a/src/video/emscripten/SDL_emscriptenevents.h b/src/video/emscripten/SDL_emscriptenevents.h
index 3a26fa2..f6d796f 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: */