Dave Neary wrote:
> I did think that an integer constant 0 could be used in a pointer context 
> without a cast, though...

Hi all,

I've confirmed that this code (for the case where the enum value passed
is 0) should work in any ANSI conforming compiler (according to the
impressarios of comp.lang.c anyway). Whether it's wise to do this is
another matter, but in this case it's the compiler that's broken.


David Neary,               E-Mail [EMAIL PROTECTED]
Palamon Technologies Ltd.  Phone +353-1-634-5059
Gimp-developer mailing list

Reply via email to