[patch] libgloss/arm: Cast arguments to do_AngelSWI to int.

Nick Clifton nickc@redhat.com
Tue Dec 26 09:03:00 GMT 2006


Hi Paul,

> I'm not convinced by your argument. Aliasing int and void* via unions is a gcc 
> extension. Casting a void* to an int is legal C.

Well, that shows how much I know.  I had always thought that using 
unions was the correct, C way of doing things.

I withdraw my objections to Kazu's patch.

Cheers
   Nick



More information about the Newlib mailing list