fix warning

This commit is contained in:
matthias.ringwald 2011-08-21 18:30:28 +00:00
parent 338d311437
commit ce246c31a1

View File

@ -47,7 +47,7 @@
static run_loop_t * the_run_loop = NULL;
extern run_loop_t run_loop_embedded;
extern const run_loop_t run_loop_embedded;
#ifdef USE_POSIX_RUN_LOOP
extern run_loop_t run_loop_posix;
@ -123,7 +123,7 @@ void run_loop_init(RUN_LOOP_TYPE type){
switch (type) {
#ifdef EMBEDDED
case RUN_LOOP_EMBEDDED:
the_run_loop = &run_loop_embedded;
the_run_loop = (run_loop_t*) &run_loop_embedded;
break;
#endif
#ifdef USE_POSIX_RUN_LOOP