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.
Этот коммит содержится в:
родитель
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;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user