mirror of
https://github.com/golang/go
synced 2024-11-25 12:57:58 -07:00
print format bug
R=ken OCL=23965 CL=23965
This commit is contained in:
parent
2b9fe0ea24
commit
122ed3e988
@ -124,7 +124,7 @@ Dconv(Fmt *fp)
|
||||
if(fp->flags & FmtLong) {
|
||||
d1 = a->offset & 0xffffffffLL;
|
||||
d2 = (a->offset>>32) & 0xffffffffLL;
|
||||
snprint(str, sizeof(str), "$%lud-%lud", d1, d2);
|
||||
snprint(str, sizeof(str), "$%lud-%lud", (ulong)d1, (ulong)d2);
|
||||
break;
|
||||
}
|
||||
snprint(str, sizeof(str), "$%lld", a->offset);
|
||||
|
Loading…
Reference in New Issue
Block a user