]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/6c: fix build
authorRuss Cox <rsc@golang.org>
Mon, 18 Feb 2013 18:29:55 +0000 (13:29 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 18 Feb 2013 18:29:55 +0000 (13:29 -0500)
copy+paste error while cleaning up CL 7303099 before submit

R=ken2
CC=golang-dev
https://golang.org/cl/7308104

src/cmd/6c/swt.c

index 53b12d9941aadd5b69a58e3845ca4d33916a8948..068401e19b0ead0334acbdceb497a3992989ddc6 100644 (file)
@@ -626,7 +626,7 @@ align(int32 i, Type *t, int op, int32 *maxalign)
 int32
 maxround(int32 max, int32 v)
 {
-       v = xround(v, SZ_LONG);
+       v = xround(v, SZ_VLONG);
        if(v > max)
                return v;
        return max;