From a92c3bfe8ab62b99a771c7eb278c9ba45df8d0ed Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 8 May 2002 09:37:07 +0000 Subject: 2002-05-08 Roland McGrath * cthreads.c (cthread_exit): Cast any_t to long before int. --- libthreads/cthreads.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'libthreads') diff --git a/libthreads/cthreads.c b/libthreads/cthreads.c index cb8f76ed..12126f20 100644 --- a/libthreads/cthreads.c +++ b/libthreads/cthreads.c @@ -26,6 +26,17 @@ /* * HISTORY * $Log: cthreads.c,v $ + * Revision 1.10 2001/03/31 23:01:01 roland + * 2001-03-31 Roland McGrath + * + * * cthreads.h: Fix obsolescent #endif syntax. + * * cthread_internals.h: Likewise. + * * cancel-cond.c: Likewise. + * * stack.c: Likewise. + * * cthreads.c: Likewise. + * * cprocs.c: Likewise. + * * call.c: Likewise. + * * Revision 1.9 1998/11/22 18:18:10 roland * 1998-11-12 Mark Kettenis * @@ -386,7 +397,7 @@ cthread_exit(result) while (cthread_cthreads > 1) condition_wait(&cthread_idle, &cthread_lock); mutex_unlock(&cthread_lock); - exit((int) result); + exit((int)(long)result); } else { _longjmp(t->catch, TRUE); } -- cgit v1.2.3