summaryrefslogtreecommitdiffstats
path: root/generic/tkEvent.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-13 07:32:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-13 07:32:07 (GMT)
commit6e359bd331f0d8c53f8c10cebc13784f866b6968 (patch)
tree72b9ad6e69c5a72c96f01a8ee8c5cd3dce55c835 /generic/tkEvent.c
parent4ebe61f87e43bc4477641121cdd51a52b70dd775 (diff)
downloadtk-6e359bd331f0d8c53f8c10cebc13784f866b6968.zip
tk-6e359bd331f0d8c53f8c10cebc13784f866b6968.tar.gz
tk-6e359bd331f0d8c53f8c10cebc13784f866b6968.tar.bz2
Use "unsigned long" as type for "mask" variables containing X11 button-masks consistantly. Code cleanup.
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 753a31b..f5ef1f8 100644
--- a/generic/tkEvent.c
+++ b/generic/tkEvent.c
@@ -540,7 +540,7 @@ static const int buttonMasks[] = {
0, Button1Mask, Button2Mask, Button3Mask, Button4Mask, Button5Mask
};
-int
+unsigned long
TkGetButtonMask(
unsigned int button)
{