Skip to content

Commit

Permalink
add cast to uintptr
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed Jun 12, 2024
1 parent 0d9738a commit f3617cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/driver/glfw/window_x11.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var _ driver.NativeWindow = (*window)(nil)
func (w *window) RunNative(f func(any)) {
var handle uintptr
if v := w.view(); v != nil {
handle = v.GetX11Window()
handle = uintptr(v.GetX11Window())
}
runOnMain(func() {
f(driver.X11WindowContext{
Expand Down

0 comments on commit f3617cc

Please sign in to comment.