From: firewind Newsgroups: comp.lang.c,comp.os.msdos.djgpp Subject: Re: Casting void pointers Date: Mon, 22 Jun 1998 11:21:36 -0600 Organization: The World's Usenet -- http://www.Supernews.com Lines: 13 Message-ID: References: <6mkaos$k7o AT dfw-ixnews6 DOT ix DOT netcom DOT com> NNTP-Posting-Host: 209.194.74.93 Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <6mkaos$k7o@dfw-ixnews6.ix.netcom.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Sun, 21 Jun 1998, Todd Rowan wrote: > How do you explicity cast a void pointer to a function pointer? Or do you > even need to cast void pointers manually? That depends. A void pointer must be cast or reassigned prior to dereferencing it, but in assignments, no cast is required. -- (initiator of the campaign for grumpiness where grumpiness is due in c.l.c) -Please-! Do -not- copy posted articles to my personal e-mail. Thank you.