From f8e39513f37e870d6be6aad7b5013b603f12cae8 Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 20 Apr 2006 20:47:11 +0000 Subject: shut up gcc --- src/cmd/samterm/mesg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cmd/samterm') diff --git a/src/cmd/samterm/mesg.c b/src/cmd/samterm/mesg.c index 01e54ac0..fb02373e 100644 --- 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 -- cgit v1.2.3