commit f8e39513f37e870d6be6aad7b5013b603f12cae8 from: rsc date: Thu Apr 20 20:47:11 2006 UTC shut up gcc commit - cbf43783043acd39ede85a4e82566b914078b4cb commit + f8e39513f37e870d6be6aad7b5013b603f12cae8 blob - 01e54ac04cd839c4bba67da236241999b6c88d44 blob + fb02373eb445f8b6553d6886b838b228d72e61ed --- src/cmd/samterm/mesg.c +++ src/cmd/samterm/mesg.c @@ -331,7 +331,7 @@ clrlock(void) void 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(); } @@ -339,7 +339,7 @@ void startnewfile(int type, Text *t) { t->tag = Untagged; - outTv(type, (vlong)t); /* for 64-bit pointers */ + outTv(type, (vlong)(uintptr)t); /* for 64-bit pointers */ } int