On 09Sep2012 20:00, Andrew Gaul <and...@gaul.org> wrote:
| -          /* suppress GCC aliasing warning */
| -       imap_free_header_data ((void**) (void*) &h.data);

Pardon my ignorance, but what is (was?) the use of a cast like:

  (void**) (void*)

A cast of a typed pointer to (void *) when handing it to something
generic like free() I understand, but the above confuses me. I don't
expect C to confuse me.

Cheers,
-- 
Cameron Simpson <c...@zip.com.au>

Yay verily and was much work done, and several projects signed off. And
there was much rejoicing. And QA came unto thy programming team and
talked about having a post project dissection of 'what we could do
better'. A great shadow fell across the land and the hackers fled into
the darkest corners of the offices.     - Alan Cox, 24aug2000

Reply via email to