diff options
author | rsc <devnull@localhost> | 2006-04-20 20:47:11 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-20 20:47:11 +0000 |
commit | f8e39513f37e870d6be6aad7b5013b603f12cae8 (patch) | |
tree | 1ab42e3432498d7cbc74db3158b1df975e9450df /src/cmd/samterm | |
parent | cbf43783043acd39ede85a4e82566b914078b4cb (diff) | |
download | plan9port-f8e39513f37e870d6be6aad7b5013b603f12cae8.tar.gz plan9port-f8e39513f37e870d6be6aad7b5013b603f12cae8.tar.bz2 plan9port-f8e39513f37e870d6be6aad7b5013b603f12cae8.zip |
shut up gcc
Diffstat (limited to 'src/cmd/samterm')
-rw-r--r-- | src/cmd/samterm/mesg.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |