mirror of
https://github.com/gryf/wmaker.git
synced 2026-03-31 11:33:34 +02:00
Fix the use of uinptr_t
Remove the additional cast to (int), as that makes no sense.
This commit is contained in:
@@ -134,7 +134,7 @@ void buttonClick(WMWidget * w, void *ptr)
|
||||
{
|
||||
char buffer[300];
|
||||
|
||||
if (SlideButton((int)(uintptr_t) ptr)) {
|
||||
if (SlideButton((uintptr_t)ptr)) {
|
||||
MoveCount++;
|
||||
|
||||
if (CheckWin()) {
|
||||
|
||||
Reference in New Issue
Block a user