Fix linux build warning

This commit is contained in:
Michael Theall 2016-01-16 00:41:49 -06:00
parent d38cea4e7b
commit 7538ea5112

View File

@ -29,8 +29,9 @@ loop(loop_status_t (*callback)(void))
return LOOP_EXIT; return LOOP_EXIT;
#else #else
for(;;) while(status == LOOP_CONTINUE)
callback(); status = callback();
return status;
#endif #endif
} }