Made character unsigned.

This commit is contained in:
Camilla Berglund
2013-02-25 17:02:28 +01:00
parent dfc48d7170
commit 182e0afe25
4 changed files with 5 additions and 5 deletions

View File

@@ -334,9 +334,9 @@ static void key_callback(GLFWwindow* window, int key, int action)
}
}
static void char_callback(GLFWwindow* window, int character)
static void char_callback(GLFWwindow* window, unsigned int character)
{
printf("%08x at %0.3f: Character 0x%04x (%s) input\n",
printf("%08x at %0.3f: Character 0x%08x (%s) input\n",
counter++,
glfwGetTime(),
character,