diff options
Diffstat (limited to 'cpukit/score/src/threadhandler.c')
-rw-r--r-- | cpukit/score/src/threadhandler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/threadhandler.c b/cpukit/score/src/threadhandler.c index c5ff9c03af..c6cf23e660 100644 --- a/cpukit/score/src/threadhandler.c +++ b/cpukit/score/src/threadhandler.c @@ -113,7 +113,7 @@ void _Thread_Handler( void ) _Thread_Enable_dispatch(); #if defined(__USE_INIT_FINI__) - if (!doneCons && _init) + if (!doneCons && (volatile void *)_init) _init (); #endif #if defined(__USE__MAIN__) |