[patch] avoiding casts of function pointers
Oswald Buddenhagen
ossi at kde.org
Tue Jun 7 18:28:28 UTC 2005
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.
More information about the mc-devel
mailing list