]> Cypherpunks repositories - gostls13.git/commitdiff
new(chan)
authorKen Thompson <ken@golang.org>
Wed, 29 Oct 2008 20:18:21 +0000 (13:18 -0700)
committerKen Thompson <ken@golang.org>
Wed, 29 Oct 2008 20:18:21 +0000 (13:18 -0700)
R=r
OCL=18027
CL=18027

src/cmd/gc/walk.c

index 5df07aab575823d7a00def574b9c8474d6f944e5..ef80c5240fc7c8b1fbdda0cbbdb46178ec5d6b10 100644 (file)
@@ -2204,7 +2204,7 @@ chanop(Node *n, int top)
                if(n->left != N) {
                        // async buf size
                        a = nod(OCONV, n->left, N);
-                       a->type = types[TUINT32];
+                       a->type = types[TINT];
                } else
                        a = nodintconst(0);