mirror of
https://github.com/glfw/glfw.git
synced 2024-11-29 07:34:35 +00:00
Fix missing type cast
Thanks, Clang!
This commit is contained in:
parent
2f5e230338
commit
85c6168bba
@ -244,7 +244,7 @@ GLFWAPI int glfwGetError(void)
|
|||||||
if (_glfw.initialized)
|
if (_glfw.initialized)
|
||||||
{
|
{
|
||||||
error = (int) (intptr_t) _glfwPlatformGetTls(&_glfw.error);
|
error = (int) (intptr_t) _glfwPlatformGetTls(&_glfw.error);
|
||||||
_glfwPlatformSetTls(&_glfw.error, (intptr_t) GLFW_NO_ERROR);
|
_glfwPlatformSetTls(&_glfw.error, (void*) (intptr_t) GLFW_NO_ERROR);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user