Trying to fix a problem converting void* to int in gcc 64-bits.

This commit is contained in:
David Capello 2009-02-21 17:17:27 +00:00
parent 6710ae5c89
commit 2a81f3e285

View File

@ -165,7 +165,7 @@ static bool color_change_hook(JWidget widget, void *data)
{
char buf[64];
sprintf(buf, "Color%d", (int)data);
sprintf(buf, "Color%d", (size_t)data);
set_config_color("ReplaceColor", buf, colorbutton_get_color(widget));
make_preview();