summaryrefslogtreecommitdiff
path: root/src/PassivGrab.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-05-05 20:49:13 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-05-06 18:03:25 -0400
commitfb1d51d4da8f303e92c8b30e4503dc7f9c01b3a8 (patch)
treea004bdee1677b5d92df216fab69f1f476213cc8e /src/PassivGrab.c
parent5ee9a5d2de4e50552e50247e745f92b61f9784c0 (diff)
fix 5 more simple gcc warnings
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/PassivGrab.c')
-rw-r--r--src/PassivGrab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PassivGrab.c b/src/PassivGrab.c
index 7d7efdd..650210d 100644
--- a/src/PassivGrab.c
+++ b/src/PassivGrab.c
@@ -169,7 +169,7 @@ static XtServerGrabPtr CreateGrab(
XtSetBit(grab->ownerEvents, ownerEvents);
XtSetBit(grab->pointerMode, pointer_mode);
XtSetBit(grab->keyboardMode, keyboard_mode);
- grab->eventMask = event_mask;
+ grab->eventMask = (unsigned short)event_mask;
XtSetBit(grab->hasExt, need_ext);
grab->confineToIsWidgetWin = (XtWindow (widget) == confine_to);
grab->modifiers = (unsigned short) modifiers;