1
0
mirror of https://github.com/golang/go synced 2024-11-23 13:30:08 -07:00

[dev.cc] cmd/8g: fix warning on Plan 9

warning: /usr/go/src/cmd/8g/reg.c:365 format mismatch d VLONG, arg 5

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/177160043
This commit is contained in:
David du Colombier 2014-11-21 20:44:04 +01:00
parent e9c57d8a2d
commit 213a6645ce

View File

@ -362,7 +362,7 @@ brk:
print("\nregisterizing\n");
for(i=0; i<nregion; i++) {
if(debug['R'] && debug['v'])
print("region %d: cost %d varno %d enter %d\n", i, rgp->cost, rgp->varno, rgp->enter->f.prog->pc);
print("region %d: cost %d varno %d enter %lld\n", i, rgp->cost, rgp->varno, rgp->enter->f.prog->pc);
bit = blsh(rgp->varno);
vreg = paint2(rgp->enter, rgp->varno, 0);
vreg = allreg(vreg, rgp);