mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-11 13:14:17 +00:00
Fix compilation error with gcc 64 bit converting void* to int.
This commit is contained in:
parent
5d26b90276
commit
07a8b18955
@ -79,7 +79,7 @@ ButtonSet::ButtonSet(int w, int h, int firstSelected, ...)
|
||||
icon = va_arg(ap, int);
|
||||
|
||||
Item* item = new Item(c,
|
||||
reinterpret_cast<int>(this),
|
||||
(int)(reinterpret_cast<unsigned long>(this) & 0xffffffff),
|
||||
x == 0 && y == 0 ? 2: 0,
|
||||
x == w-1 && y == 0 ? 2: 0,
|
||||
x == 0 && y == h-1 ? 2: 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user