From dcfaa9a909887a0957e7052b01187d140f6da2f8 Mon Sep 17 00:00:00 2001 From: tanek liang Date: Sat, 29 Jul 2017 14:16:28 +0800 Subject: [PATCH] [kernel] fix incompatible type error for "__rt_ffs()" --- src/scheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scheduler.c b/src/scheduler.c index 5cc2f0b067..186d20e55b 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -42,7 +42,7 @@ static rt_int16_t rt_scheduler_lock_nest; extern volatile rt_uint8_t rt_interrupt_nest; -extern int __rt_ffs(int value); +extern rt_ubase_t __rt_ffs(rt_ubase_t value); rt_list_t rt_thread_priority_table[RT_THREAD_PRIORITY_MAX]; struct rt_thread *rt_current_thread;