Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/exp/shiny: error on Ubuntu 14.04 #13147

Closed
glorieux opened this issue Nov 4, 2015 · 2 comments
Closed

x/exp/shiny: error on Ubuntu 14.04 #13147

glorieux opened this issue Nov 4, 2015 · 2 comments

Comments

@glorieux
Copy link

glorieux commented Nov 4, 2015

Here is the error I've got when trying to run golang.org/x/exp/shiny/example/tile with go version go1.5.1 linux/amd64:

# golang.org/x/exp/shiny/driver/x11driver
../../driver/x11driver/screen.go:356: cannot use int32(width) (type int32) as type uint16 in argument to xproto.CreateWindow
../../driver/x11driver/screen.go:356: cannot use int32(height) (type int32) as type uint16 in argument to xproto.CreateWindow

I was able to get it to work properly by changing the int32 type used driver/x11driver/screen.go:356 to uint16.

Will submit fix soon.

@gopherbot
Copy link

CL https://golang.org/cl/16623 mentions this issue.

@ianlancetaylor ianlancetaylor added this to the Unreleased milestone Nov 5, 2015
@crawshaw
Copy link
Member

crawshaw commented Nov 8, 2015

Fixed by https://golang.org/cl/16552

@crawshaw crawshaw closed this as completed Nov 8, 2015
@golang golang locked and limited conversation to collaborators Nov 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants