D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] (void *) for Dennis Ritchie...

 

On Thu, 13 Oct 2011 15:13:01 +0100
Philip Hudson <phil.hudson@xxxxxxxxx> wrote:

> Is that (void *) a down-cast or an up-cast? :-)

It's a compiler error: cast discards qualifiers.

Besides, C has no understanding of up or down, just bool.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: pgpWiG6U2VaPG.pgp
Description: PGP signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq