mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-24 07:02:30 +01:00
The original code assumed that the (void *) type could be safely converted to an integer for the printf use, but it is not that simple, as pointed by gcc when compiling on 32-bits platforms, where pointers do not match anymore the long (%li) size. The new code now do the conversions by the rules, so the compiler knows what is happening and printf always gets the 'int' it expects. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
19 KiB
19 KiB