mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 12:08:36 +08:00
note: fix assignment warning
note/note_driver.c:154:7: warning: unsigned conversion from ‘int’ to ‘unsigned char’ changes value from ‘65535’ to ‘255’ [-Woverflow] 154 | , CONFIG_SCHED_INSTRUMENTATION_CPUSET | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
parent
d73fb5ca21
commit
9ecaa022c8
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ static struct note_filter_s g_note_filter =
|
|||
{
|
||||
CONFIG_SCHED_INSTRUMENTATION_FILTER_DEFAULT_MODE
|
||||
#ifdef CONFIG_SMP
|
||||
, CONFIG_SCHED_INSTRUMENTATION_CPUSET
|
||||
, (cpu_set_t)CONFIG_SCHED_INSTRUMENTATION_CPUSET
|
||||
#endif
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue