summaryrefslogtreecommitdiff
path: root/lib/libc_r/arch
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-05-10 10:17:23 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-05-10 10:17:23 +0000
commit964932c7a15bf71deb640bc3ebf6fcde94dde8df (patch)
tree0128bae5f0b0dc8b52409eeff9632a8c0e004799 /lib/libc_r/arch
parentc171ba78cff1b045e1d0215856d9f3bb38b0615e (diff)
Cast u_int64_t explicitly, not long. (cosmetic)
Diffstat (limited to 'lib/libc_r/arch')
-rw-r--r--lib/libc_r/arch/alpha/uthread_machdep.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc_r/arch/alpha/uthread_machdep.c b/lib/libc_r/arch/alpha/uthread_machdep.c
index 1fc640c858e..fa9c604d06f 100644
--- a/lib/libc_r/arch/alpha/uthread_machdep.c
+++ b/lib/libc_r/arch/alpha/uthread_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_machdep.c,v 1.1 2000/09/25 05:44:13 d Exp $ */
+/* $OpenBSD: uthread_machdep.c,v 1.2 2002/05/10 10:17:22 art Exp $ */
/* David Leonard, <d@csee.uq.edu.au>. Public domain. */
/*
@@ -30,9 +30,10 @@ _thread_machdep_init(statep, base, len, entry)
{
struct frame *f;
- f = (struct frame *)(((long)base + len - sizeof *f) & ~ALIGNBYTES);
- f->ra = f->t12 = (long)entry;
- statep->sp = (long)f;
+ f = (struct frame *)(((u_int64_t)base + len - sizeof *f) & ~ALIGNBYTES);
+ f->ra = f->t12 = (u_int64_t)entry;
+
+ statep->sp = (u_int64_t)f;
}
void