1
0
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:
David du Colombier 2015-02-07 13:26:28 +01:00
parent ac90d9ab47
commit 6f999f239b
4 changed files with 4 additions and 4 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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: