rem: int i;
add: unsigned i;
context: static void status2proc(const char *S, proc_t *restrict P){    char* tmp;    int i;    // The cmd is escaped, with \\ and \n for backslash and newline.    // It certainly may contain "VmSize:" and similar crap.    if(unlikely(strncmp("Name:\t",S,6))) fprintf(stderr, "Internal error!\n");    S += 6;    i = 0;    while(i < sizeof P->cmd - 1){      int c = *S++;      if(unlikely(c=='\n')) break;      if(unlikely(c=='\0')) return; // should never happen      if(unlikely(c=='\\')){        c = *S++;        if(c=='\n') break; // should never happen        if(!c) break; // should never happen        if(c=='n') c='\n'; // else we assume it is '\\'      }      P->cmd[i++] = c;    }    P->cmd[i] = '\0';    tmp = strstr (S,"State:\t");    if(likely((long)tmp)) P->state = tmp[7];    else fprintf(stderr, "Internal error!\n");    tmp = strstr (S,"Pid:");    if(likely((long)tmp)) sscanf (tmp,        "Pid:\t%d\n"        "PPid:\t%d\n",        &P->pid,        &P->ppid    );    else fprintf(stderr, "Internal error!\n");    tmp = strstr (S,"Uid:");    if(likely((long)tmp)) sscanf (tmp,        "Uid:\t%d\t%d\t%d\t%d",        &P->ruid, &P->euid, &P->suid, &P->fuid    );    else fprintf(stderr, "Internal error!\n");    tmp = strstr (S,"Gid:");    if(likely((long)tmp)) sscanf (tmp,        "Gid:\t%d\t%d\t%d\t%d",        &P->rgid, &P->egid, &P->sgid, &P->fgid    );    else fprintf(stderr, "Internal error!\n");    tmp = strstr (S,"VmSize:");    if(likely((long)tmp)) sscanf (tmp,        "VmSize: %lu kB\n"        "VmLck: %lu kB\n"        "VmRSS: %lu kB\n"        "VmData: %lu kB\n"        "VmStk: %lu kB\n"        "VmExe: %lu kB\n"        "VmLib: %lu kB\n",        &P->vm_size, &P->vm_lock, &P->vm_rss, &P->vm_data,        &P->vm_stack, &P->vm_exe, &P->vm_lib    );    else /* looks like an annoying kernel thread */    {        P->vm_size  = 0;        P->vm_lock  = 0;        P->vm_rss   = 0;        P->vm_data  = 0;        P->vm_stack = 0;        P->vm_exe   = 0;        P->vm_lib   = 0;    }    tmp = strstr (S,"SigPnd:");    if(likely((long)tmp)) sscanf (tmp,#ifdef SIGNAL_STRING        "SigPnd: %s SigBlk: %s SigIgn: %s %*s %s",        P->signal, P->blocked, P->sigignore, P->sigcatch#else        "SigPnd: %Lx SigBlk: %Lx SigIgn: %Lx %*s %Lx",        &P->signal, &P->blocked, &P->sigignore, &P->sigcatch#endif    );    else fprintf(stderr, "Internal error!\n");}