64-bit fixes.
[jmk] --rwxrwxr-- M 107020 glenda sys 8676 Nov 19 20:33 sys/src/cmd/7l/pass.c
/n/sourcesdump/2005/1119/plan9/sys/src/cmd/7l/pass.c:130,138 -
/n/sourcesdump/2005/1120/plan9/sys/src/cmd/7l/pass.c:130,138
continue;
/* size should be 19 max */
if(strlen(s->name) >= 10) /* has loader address */
- sprint(literal, "$%lux.%lux", (long)s, (long)p->from.offset);
+ sprint(literal, "$%p.%llux", s, p->from.offset);
else
- sprint(literal, "$%s.%d.%lux", s->name, s->version, (long)p->from.offset);
+ sprint(literal, "$%s.%d.%llux", s->name, s->version, p->from.offset);
} else {
if(p->from.name != D_NONE)
continue;
|