summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libthreads/cthreads.c13
1 files changed, 12 insertions, 1 deletions
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 <roland@frob.com>
+ *
+ * * 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 <kettenis@phys.uva.nl>
*
@@ -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);
}