mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-28 16:20:50 +00:00
Trying to fix a problem converting void* to int in gcc 64-bits.
This commit is contained in:
parent
6710ae5c89
commit
2a81f3e285
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user