From b488c3f87f9d52c0c13acf853899ef62c2e206c0 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Sat, 8 Aug 2020 22:48:04 +0200 Subject: [PATCH] Make _glfwPlatformInitJoysticks() return the correct type in null_joystick This code was introduced in 782e6b6cefc9ac2a2b6779f9e658ab948809253b. Closes #1745. --- src/null_joystick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/null_joystick.c b/src/null_joystick.c index 933b282d..27756a61 100644 --- a/src/null_joystick.c +++ b/src/null_joystick.c @@ -33,7 +33,7 @@ ////// GLFW platform API ////// ////////////////////////////////////////////////////////////////////////// -int _glfwPlatformInitJoysticks(void) +GLFWbool _glfwPlatformInitJoysticks(void) { return GLFW_TRUE; }