mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-02 04:20:16 +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];
|
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));
|
set_config_color("ReplaceColor", buf, colorbutton_get_color(widget));
|
||||||
|
|
||||||
make_preview();
|
make_preview();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user