diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-07-16 04:33:26 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-07-16 04:33:26 -0400 |
commit | 05814df9c0be77ff0168a22415e2282d093df5d5 (patch) | |
tree | dec96dba9b6bcc506fd41a13180a2ab9dc2222d0 /src/events.c | |
parent | cb7840991612fbbe259bf07c53f34577c5b5c2b9 (diff) |
gcc-stricter warnings, no object change
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/events.c')
-rw-r--r-- | src/events.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/events.c b/src/events.c index 9f5d239..68d9749 100644 --- a/src/events.c +++ b/src/events.c @@ -595,7 +595,7 @@ HandleKeyPress(void) for (key = Scr->FuncKeyRoot.next; key != NULL; key = key->next) { if (key->keysym == ks && - key->mods == modifier && + (unsigned)key->mods == modifier && (key->cont == Context || key->cont == C_NAME)) { /* weed out the functions that don't make sense to execute @@ -1958,7 +1958,7 @@ typedef struct HENScanArgs { } HENScanArgs; static Bool -HENQueueScanner(Display *dpy2, XEvent *ev, char *args) +HENQueueScanner(Display *dpy2 _X_UNUSED, XEvent *ev, char *args) { if (ev->type == LeaveNotify) { if (ev->xcrossing.window == ((HENScanArgs *) args)->w && @@ -2155,7 +2155,7 @@ typedef struct HLNScanArgs { } HLNScanArgs; static Bool -HLNQueueScanner(Display *dpy2, XEvent *ev, char *args) +HLNQueueScanner(Display *dpy2 _X_UNUSED, XEvent *ev, char *args) { if (ev->type == EnterNotify && ev->xcrossing.mode != NotifyGrab) { ((HLNScanArgs *) args)->enters = True; @@ -2600,7 +2600,7 @@ InstallRootColormap(void) static Bool -UninstallRootColormapQScanner(Display *dpy2, XEvent *ev, char *args) +UninstallRootColormapQScanner(Display *dpy2 _X_UNUSED, XEvent *ev, char *args) { if (!*args) { if (ev->type == EnterNotify) { |