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

[dev.power64] liblink: fix Solaris build

a->class is a char.  Boo hoo.

LGTM=minux
R=rsc, minux
CC=golang-codereviews
https://golang.org/cl/169630043
This commit is contained in:
Austin Clements 2014-11-14 15:53:15 -05:00
parent 1222cc4682
commit 7904e951d4

View File

@ -156,7 +156,7 @@ Dconv(Fmt *fp)
s += sprint(s, "%d ", i);
s += sprint(s, "offset=%ld etype=%E width=%d", a->offset, a->etype, a->width);
if(a->class != 0)
s += sprint(s, " class=%s", cnames9[a->class]);
s += sprint(s, " class=%s", cnames9[(int)a->class]);
if(a->sym != nil)
s += sprint(s, " sym=%s", a->sym->name);
if(a->type == D_BRANCH && a->u.branch != nil)