1
1

The gcc extension to verify printf argument list types at compile time appears not to understand that any pointer should automatically be downcast to a void* without warning. Help the compiler out a little bit.

This commit was SVN r961.
Этот коммит содержится в:
Brian Barrett 2004-03-25 21:19:33 +00:00
родитель 82cada0e2d
Коммит 5f71a8e395

Просмотреть файл

@ -140,7 +140,7 @@ static inline lam_list_item_t *lam_list_remove_item
}
}
if (!found) {
fprintf(stderr," Warning :: lam_list_remove_item - the item %p is not on the list %p \n",item,list);
fprintf(stderr," Warning :: lam_list_remove_item - the item %p is not on the list %p \n",(void*) item, (void*) list);
fflush(stderr);
return (lam_list_item_t *)NULL;
}