diff options
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 |