mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 21:38:00 +01:00
It is dangerous to let the compiler know about a function without letting him know the arguments because he won't be able to report invalid calls. This patch concern the cases where adding the arguments led to problems because the functions were used as call-back. As it is dangerous to have parameter mismatchs in call-back, setup the args as expected by prototype and added explicit conversion inside the concerned function, so the compiler will know and be able to do what may be necessary.
23 KiB
23 KiB