Fixed constness of joystick data.
diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h
index 21f2550..691d4ed 100644
--- a/include/GLFW/glfw3.h
+++ b/include/GLFW/glfw3.h
@@ -1973,7 +1973,7 @@
  *
  *  @ingroup input
  */
-GLFWAPI float* glfwGetJoystickAxes(int joy, int* count);
+GLFWAPI const float* glfwGetJoystickAxes(int joy, int* count);
 
 /*! @brief Returns the values of all buttons of the specified joystick.
  *  @param[in] joy The joystick to query.
@@ -1985,7 +1985,7 @@
  *
  *  @ingroup input
  */
-GLFWAPI unsigned char* glfwGetJoystickButtons(int joy, int* count);
+GLFWAPI const unsigned char* glfwGetJoystickButtons(int joy, int* count);
 
 /*! @brief Returns the name of the specified joystick.
  *