Remove sign warning in comparison
All checks were successful
Build documentation / build-and-deploy (push) Successful in 22s

This commit is contained in:
2026-01-04 01:45:56 +01:00
parent b5353cb600
commit bba36ef057

View File

@@ -26,7 +26,8 @@ static syscall_handler_func_t handler_table[] = {
}; };
syscall_handler_func_t syscall_find_handler (int syscall_num) { 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; return NULL;
} }