It should be noted that, although it silences the warnings, the cast makes theQuote:>> void AddLNode(void ** Hptr, void * Nptr);
>> Tlist *Head, *Walker;
>> AddLNode(&Head,Walker); /* This statement generates a warning */
>The warnings you are getting are from the first parameter. When I cast
>it to AddLNode((void **)&Head, Walker); I don't get any warnings.
code incorrect. It will fail on (existing) implementations where `Tlist *'
and `void *' do not have the same internal format.
Followups to comp.lang.c only.