Fix type size for 16bit cpu

This commit is contained in:
Jason Pan 2016-08-01 19:06:34 +08:00
parent c641c8019e
commit e4b138f810
1 changed files with 2 additions and 2 deletions

View File

@ -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 * @return return the index of the first bit set. If value is 0, then this function
* shall return 0. * shall return 0.
*/ */
int __rt_ffs(int value) rt_ubase_t __rt_ffs(rt_ubase_t value)
{ {
if (value == 0) return 0; if (value == 0) return 0;