Switch to unsigned keys in hash, according to issue #1688290

in the sf tracker
This commit is contained in:
Hisham Muhammad
2007-04-05 19:53:23 +00:00
parent e3198ca63b
commit a227b20fef
7 changed files with 30 additions and 30 deletions

View File

@ -312,7 +312,7 @@ void ProcessList_remove(ProcessList* this, Process* p) {
assert(Hashtable_get(this->processTable, p->pid) != NULL);
Process* pp = Hashtable_remove(this->processTable, p->pid);
assert(pp == p); (void)pp;
int pid = p->pid;
unsigned int pid = p->pid;
int index = Vector_indexOf(this->processes, p, Process_pidCompare);
assert(index != -1);
Vector_remove(this->processes, index);