diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2007-04-05 19:53:23 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2007-04-05 19:53:23 +0000 |
commit | a227b20fefda7d14316523ddd3aa1ce2b439169c (patch) | |
tree | 08ddd2b5636ded3fee6ac175c16014986e5d0969 /ProcessList.c | |
parent | e3198ca63b0996f4a2e46ab5bbb98650de47ea3e (diff) |
Switch to unsigned keys in hash, according to issue #1688290
in the sf tracker
Diffstat (limited to 'ProcessList.c')
-rw-r--r-- | ProcessList.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ProcessList.c b/ProcessList.c index b7f52a2f..281d9df0 100644 --- a/ProcessList.c +++ b/ProcessList.c @@ -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); |