We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deddab0 commit 173f9a6Copy full SHA for 173f9a6
src/cpp/glfw-platform.cpp
@@ -32,7 +32,7 @@ DBG_EXPORT JS_METHOD(platformWindow) { NAPI_ENV; THIS_WINDOW;
32
if (glfwGetPlatform() == GLFW_PLATFORM_WAYLAND) {
33
RET_PTR(glfwGetWaylandWindow(window));
34
} else {
35
- RET_PTR(glfwGetX11Window(window));
+ RET_PTR(static_cast<int64_t>(glfwGetX11Window(window)));
36
}
37
#elif __APPLE__
38
RET_PTR(glfwGetCocoaWindow(window));
0 commit comments