提交 f6586111 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #649 from bright-pan/master

Fix type size for 16bit cpu
......@@ -1221,7 +1221,7 @@ const rt_uint8_t __lowest_bit_bitmap[] =
* @return return the index of the first bit set. If value is 0, then this function
* shall return 0.
*/
int __rt_ffs(int value)
rt_ubase_t __rt_ffs(rt_ubase_t value)
{
if (value == 0) return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册