Remove sign warning in comparison
All checks were successful
Build documentation / build-and-deploy (push) Successful in 22s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 22s
This commit is contained in:
@@ -26,7 +26,8 @@ static syscall_handler_func_t handler_table[] = {
|
||||
};
|
||||
|
||||
syscall_handler_func_t syscall_find_handler (int syscall_num) {
|
||||
if (!(syscall_num >= 0 && syscall_num < (sizeof (handler_table) / sizeof (handler_table[0])))) {
|
||||
if (!(syscall_num >= 0 &&
|
||||
syscall_num < (int)(sizeof (handler_table) / sizeof (handler_table[0])))) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user