--- Gnu-Mach/kern/ipc_tt.c 2020/09/02 04:49:54 1.1.1.6 +++ Gnu-Mach/kern/ipc_tt.c 2020/09/02 04:52:00 1.1.1.7 @@ -818,7 +818,7 @@ mach_ports_register( mach_msg_type_number_t portsCnt) { ipc_port_t ports[TASK_PORT_REGISTER_MAX]; - int i; + unsigned i; if ((task == TASK_NULL) || (portsCnt > TASK_PORT_REGISTER_MAX))