gc: format nits

src/cmd/gc/bits.c: corrected a mistaken format;
src/cmd/gc/go.h: %E can accept uints.

R=rsc
CC=golang-dev
https://golang.org/cl/5331041
This commit is contained in:
Lucio De Re 2011-11-07 11:42:08 -05:00 committed by Russ Cox
parent a4ae4ce8ba
commit 2e1bb76f9b
2 changed files with 2 additions and 1 deletions

View file

@ -151,7 +151,7 @@ Qconv(Fmt *fp)
else
fmtprint(fp, " ");
if(var[i].node == N || var[i].node->sym == S)
fmtprint(fp, "$%lld", i);
fmtprint(fp, "$%d", i);
else {
fmtprint(fp, "%s", var[i].node->sym->name);
if(var[i].offset != 0)

View file

@ -1331,6 +1331,7 @@ void zname(Biobuf *b, Sym *s, int t);
#pragma varargck type "D" Addr*
#pragma varargck type "lD" Addr*
#pragma varargck type "E" int
#pragma varargck type "E" uint
#pragma varargck type "F" Mpflt*
#pragma varargck type "H" NodeList*
#pragma varargck type "J" Node*