summaryrefslogtreecommitdiff
path: root/lib/libc_r
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>2000-01-06 07:22:05 +0000
committerDavid Leonard <d@cvs.openbsd.org>2000-01-06 07:22:05 +0000
commit0540edce076ab83bebf48e1588d28b6caaa5d61b (patch)
treed0ab9195066f206a361906e56e0ea085839a098f /lib/libc_r
parent66f978659359b7e85650a0a61989673bb140d040 (diff)
kill silly casts to (long)
Diffstat (limited to 'lib/libc_r')
-rw-r--r--lib/libc_r/uthread/uthread_spinlock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc_r/uthread/uthread_spinlock.c b/lib/libc_r/uthread/uthread_spinlock.c
index 6e7a60706c4..41381e18321 100644
--- a/lib/libc_r/uthread/uthread_spinlock.c
+++ b/lib/libc_r/uthread/uthread_spinlock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_spinlock.c,v 1.6 1999/11/25 07:01:46 d Exp $ */
+/* $OpenBSD: uthread_spinlock.c,v 1.7 2000/01/06 07:22:04 d Exp $ */
/*
* Copyright (c) 1997 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
@@ -63,7 +63,7 @@ _spinlock(spinlock_t *lck)
}
/* The running thread now owns the lock: */
- lck->lock_owner = (long) _thread_run;
+ lck->lock_owner = _thread_run;
}
/*
@@ -101,7 +101,7 @@ _spinlock_debug(spinlock_t *lck, const char *fname, int lineno)
}
/* The running thread now owns the lock: */
- lck->lock_owner = (long) _thread_run;
+ lck->lock_owner = _thread_run;
lck->fname = fname;
lck->lineno = lineno;
}