Commit 6f999f23 authored by David du Colombier's avatar David du Colombier

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/4112Reviewed-by: 's avatarMinux Ma <minux@golang.org>
parent ac90d9ab
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment