plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit f8e39513f37e870d6be6aad7b5013b603f12cae8
parent cbf43783043acd39ede85a4e82566b914078b4cb
Author: rsc <devnull@localhost>
Date:   Thu, 20 Apr 2006 20:47:11 +0000

shut up gcc

Diffstat:
Msrc/cmd/samterm/mesg.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cmd/samterm/mesg.c b/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