Re: [patch] avoiding casts of function pointers



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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]