|
|
Author: chromatic
Date: Sun Dec 9 22:19:51 2007
New Revision: 23688
Modified:
trunk/src/scheduler.c
Log:
[src] Fixed a compiler warning that's a C++ no-no.
Modified: trunk/src/scheduler.c
==============================================================================
--- trunk/src/scheduler.c (original)
+++ trunk/src/scheduler.c Sun Dec 9 22:19:51 2007
@@ -53,7 +53,8 @@
*/
-PARROT_API
+typedef void *(pt_start_routine_f)(void *);
+
void
Parrot_cx_init_scheduler(PARROT_INTERP)
{
@@ -78,7 +79,7 @@
/* Start the scheduler runloop */
THREAD_CREATE_JOINABLE(sched_struct->runloop_handle,
- (void *) scheduler_runloop, (void *) scheduler);
+ (pt_start_routine_f *)scheduler_runloop, (void *) scheduler);
}
}
|
|