Commit 34d9c5213c95996c9ed12d794ae3ad586830af88

Philipp Wiesemann 2017-05-06T21:45:43

emscripten: Fixed return type in event callback declaration.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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: */