]> Cypherpunks repositories - gostls13.git/commitdiff
gc: fix silent sign truncation in pgen.c
authorDave Cheney <dave@cheney.net>
Mon, 18 Jul 2011 11:09:28 +0000 (21:09 +1000)
committerRob Pike <r@golang.org>
Mon, 18 Jul 2011 11:09:28 +0000 (21:09 +1000)
Fixes #2076.

R=golang-dev, r, r, dsymonds, lucio.dere
CC=golang-dev
https://golang.org/cl/4744047

src/cmd/gc/pgen.c

index ad5ad27583798042b8ab0a87648436cb6ca5dbbd..962324a8bb1e9dad050c37fafff2f05a2a43c04a 100644 (file)
@@ -149,7 +149,7 @@ compactframe(Prog* ptxt)
 {
        NodeList *ll;
        Node* n;
-       uint32 w;
+       vlong w;
 
        if (stksize == 0)
                return;