From 08b8af94a7a5a0ce030c85b724f3002c5c792c34 Mon Sep 17 00:00:00 2001 From: Michael Stocker Date: Thu, 11 Aug 2016 19:51:31 +0200 Subject: [PATCH] Fixed return `int` to `short int` for `_glfwPlatformGetKeyScancode` --- src/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.h b/src/internal.h index c2efa1005..7fc20ba9a 100644 --- a/src/internal.h +++ b/src/internal.h @@ -546,7 +546,7 @@ const char* _glfwPlatformGetKeyName(int key, int scancode); /*! @copydoc glfwGetKeyScancode * @ingroup platform */ -const int _glfwPlatformGetKeyScancode(int key); +const short int _glfwPlatformGetKeyScancode(int key); /*! @copydoc glfwGetMonitors * @ingroup platform