WINGs: Removed cast to change function prototype
commite2d816c7a27093431faba3c380bebfbee41a1e64
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 11 May 2013 22:24:46 +0000 (12 00:24 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 12 May 2013 00:01:20 +0000 (12 01:01 +0100)
tree77b6e37d8a51eadf4d2e2b5047a5ce939558b209
parentbab90b216889763f55e0dd155deb7895a507fee2
WINGs: Removed cast to change function prototype

When a function is used as a call-back, it is dangerous to have
arguments with a type different than what is expected by the
call-back definition.

This patch sets the argument list to match what is expected by
the call-back prototype and inserts an explicit type conversion
at the beginning of the function.
WINGs/hashtable.c
WINGs/memory.c
WINGs/proplist.c
WINGs/wevent.c
WINGs/wlist.c