mirror of
https://github.com/golang/go
synced 2024-11-18 11:55:01 -07:00
liblink: fix warnings on Plan 9
warning: src/liblink/list5.c:171 format mismatch lld INT, arg 4 warning: src/liblink/list9.c:175 format mismatch lld INT, arg 4 warning: src/liblink/list6.c:211 format mismatch lld INT, arg 4 warning: src/liblink/list8.c:205 format mismatch lld INT, arg 4 Change-Id: I745ea852d8b58ecbbd32723e2a67aa784a729ff8 Reviewed-on: https://go-review.googlesource.com/4112 Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
parent
ac90d9ab47
commit
6f999f239b
@ -168,7 +168,7 @@ Dconv(Fmt *fp)
|
||||
if(a->u.argsize == ArgsSizeUnknown)
|
||||
sprint(str, "$%lld", a->offset);
|
||||
else
|
||||
sprint(str, "$%lld-%lld", a->offset, a->u.argsize);
|
||||
sprint(str, "$%lld-%d", a->offset, a->u.argsize);
|
||||
break;
|
||||
|
||||
case TYPE_SHIFT:
|
||||
|
@ -208,7 +208,7 @@ Dconv(Fmt *fp)
|
||||
if(a->u.argsize == ArgsSizeUnknown)
|
||||
sprint(str, "$%lld", a->offset);
|
||||
else
|
||||
sprint(str, "$%lld-%lld", a->offset, a->u.argsize);
|
||||
sprint(str, "$%lld-%d", a->offset, a->u.argsize);
|
||||
break;
|
||||
|
||||
case TYPE_FCONST:
|
||||
|
@ -202,7 +202,7 @@ Dconv(Fmt *fp)
|
||||
if(a->u.argsize == ArgsSizeUnknown)
|
||||
sprint(str, "$%lld", a->offset);
|
||||
else
|
||||
sprint(str, "$%lld-%lld", a->offset, a->u.argsize);
|
||||
sprint(str, "$%lld-%d", a->offset, a->u.argsize);
|
||||
break;
|
||||
|
||||
case TYPE_FCONST:
|
||||
|
@ -172,7 +172,7 @@ Dconv(Fmt *fp)
|
||||
if(a->u.argsize == ArgsSizeUnknown)
|
||||
sprint(str, "$%lld", a->offset);
|
||||
else
|
||||
sprint(str, "$%lld-%lld", a->offset, a->u.argsize);
|
||||
sprint(str, "$%lld-%d", a->offset, a->u.argsize);
|
||||
break;
|
||||
|
||||
case TYPE_MEM:
|
||||
|
Loading…
Reference in New Issue
Block a user