mirror of
https://github.com/gryf/wmaker.git
synced 2026-03-02 14:35:47 +01:00
The original code assumed that the sizeof returns a long int type, which is true on 64 bits platform but not on 32 bits platforms, as pointed by gcc. The new code does an explicit conversions to 'int' (which should be enough for that case) so the format specifier in printf will always be ok, whatever platform Window Maker is compiled for. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
55 KiB
55 KiB