shut up gcc

This commit is contained in:
rsc 2006-04-20 20:47:11 +00:00
parent cbf4378304
commit f8e39513f3

View file

@ -331,7 +331,7 @@ clrlock(void)
void void
startfile(Text *t) startfile(Text *t)
{ {
outTsv(Tstartfile, t->tag, (vlong)t); /* for 64-bit pointers */ outTsv(Tstartfile, t->tag, (vlong)(uintptr)t); /* for 64-bit pointers */
setlock(); setlock();
} }
@ -339,7 +339,7 @@ void
startnewfile(int type, Text *t) startnewfile(int type, Text *t)
{ {
t->tag = Untagged; t->tag = Untagged;
outTv(type, (vlong)t); /* for 64-bit pointers */ outTv(type, (vlong)(uintptr)t); /* for 64-bit pointers */
} }
int int