{"comment":{"created_at":"2011-10-19T02:28:01Z","body":"O.K. I was just wondering. Hopefully Arch will settle on Go 1 when it comes out; I've been using a custom PKGBUILD that gets the latest weekly, but it would be nice not to have to compile it every week or two.","updated_at":"2011-10-19T02:28:01Z","url":"https://api.github.com/repos/banthar/Go-SDL/issues/comments/2451289","id":2451289,"user":{"gravatar_id":"04836fc8d2e36f46b0012c99e4ee7090","avatar_url":"https://secure.gravatar.com/avatar/04836fc8d2e36f46b0012c99e4ee7090?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/DeedleFake","id":326750,"login":"DeedleFake"}},"action":"created","issue":{"number":42,"created_at":"2011-10-18T00:09:48Z","pull_request":{"diff_url":"https://github.com/banthar/Go-SDL/pull/42.diff","patch_url":"https://github.com/banthar/Go-SDL/pull/42.patch","html_url":"https://github.com/banthar/Go-SDL/pull/42"},"body":"When compiling sdl.go I get the error:\r\n\r\n    6g  -o _go_.6 constants.go structs.6.go _obj/sdl.cgo1.go _obj/_cgo_gotypes.go\r\n    sdl.go:304[_obj/sdl.cgo1.go:307]: cannot use r (type image.Rectangle) as type int in function argument\r\n    sdl.go:304[_obj/sdl.cgo1.go:307]: not enough arguments in call to image.NewNRGBA\r\n    make[1]: *** [_go_.6] Error 1\r\n    make[1]: Leaving directory `/home/charlieb/tmp/Go-SDL/sdl'\r\n    make: *** [all] Error 2\r\n\r\nI changed sdl.go:385 to expand the Rectangle argument to pass its height and width directly and no more errors!\r\n","comments":3,"title":"Fixed use of Rectangle as argument to Image.NewNRGBA","updated_at":"2011-10-19T02:28:01Z","url":"https://api.github.com/repos/banthar/Go-SDL/issues/42","id":1935013,"assignee":null,"milestone":null,"closed_at":"2011-10-19T01:11:31Z","user":{"gravatar_id":"3e17f3cc07be38852f5272c6c1b1ca28","avatar_url":"https://secure.gravatar.com/avatar/3e17f3cc07be38852f5272c6c1b1ca28?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/charlieb","id":37277,"login":"charlieb"},"html_url":"https://github.com/banthar/Go-SDL/issues/42","labels":[],"state":"closed"},"legacy":{"issue_id":1935013,"comment_id":2451289}}