From cc5c2ee0ec93bc75560ea2e635f14e5a2453f97b Mon Sep 17 00:00:00 2001 From: Graham Miller Date: Thu, 7 Oct 2010 04:52:13 -0400 Subject: [PATCH] life: fix for new slice rules R=golang-dev, adg, rsc CC=golang-dev https://golang.org/cl/2341049 --- misc/cgo/life/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cgo/life/main.go b/misc/cgo/life/main.go index 7c2c0c73efe..9cfed434be0 100644 --- a/misc/cgo/life/main.go +++ b/misc/cgo/life/main.go @@ -29,7 +29,7 @@ func main() { } } - life.Run(*gen, *dim, *dim, &a) + life.Run(*gen, *dim, *dim, a[:]) for i := 0; i < *dim; i++ { for j := 0; j < *dim; j++ {