summaryrefslogtreecommitdiffstats
path: root/generic/tkEvent.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkEvent.c')
-rw-r--r--generic/tkEvent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkEvent.c b/generic/tkEvent.c
index f86ac36..b13200b 100644
--- a/generic/tkEvent.c
+++ b/generic/tkEvent.c
@@ -540,7 +540,7 @@ static const unsigned int buttonMasks[] = {
0, Button1Mask, Button2Mask, Button3Mask, Button4Mask, Button5Mask, Button6Mask, Button7Mask, Button8Mask, Button9Mask
};
-unsigned int
+unsigned long
TkGetButtonMask(
unsigned int button)
{