Re: [patch] avoiding casts of function pointers
- From: Oswald Buddenhagen <ossi kde org>
- To: mc-devel gnome org
- Subject: Re: [patch] avoiding casts of function pointers
- Date: Tue, 7 Jun 2005 20:28:28 +0200
On Tue, Jun 07, 2005 at 05:12:59PM +0200, Roland Illig wrote:
> This patch fixes the gcc warning about incompatible pointer types in
> widget.c. I is much more complicated than Jindrich's patch, but in
> return it is fully ISO C compliant. :)
what an effort ...
the simplest solution is making the functions that don't need a pointer
just have a dummy parameter. that's typical for callbacks.
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
Chaos, panic, and disorder - my work here is done.
] [Thread Prev