gcc 3.0 warnings

This commit is contained in:
albert
2002-10-12 04:25:57 +00:00
parent f86b39f44e
commit 81a4a3d281
18 changed files with 60 additions and 61 deletions

View File

@ -288,7 +288,7 @@ static int compare_two_procs(const void *a, const void *b){
sort_node *tmp_list = sort_list;
while(tmp_list){
int result;
result = (*tmp_list->sr)(*(const proc_t **)a, *(const proc_t **)b);
result = (*tmp_list->sr)(*(const proc_t *const*)a, *(const proc_t *const*)b);
if(result) return (tmp_list->reverse) ? -result : result;
tmp_list = tmp_list->next;
}