diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-07-16 17:06:02 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-07-16 17:06:02 -0400 |
commit | 5e1798773d837eabaa70d0fff5762397f540ee00 (patch) | |
tree | f49b196a92086ac2893b9642d6798441847666db /src/events.c | |
parent | b09c794f975d4b11685ac31884b8a6fd73b1ff15 (diff) |
caddr_t used to be used in X code before XPointer was established; it's obsolete and less portable
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/events.c')
-rw-r--r-- | src/events.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/events.c b/src/events.c index 68d9749..f92014f 100644 --- a/src/events.c +++ b/src/events.c @@ -881,8 +881,8 @@ HandlePropertyNotify(void) Tmp_win->icon_w = Tmp_win->wmhints->icon_window; XSelectInput (dpy, Tmp_win->icon_w, KeyPressMask | ButtonPressMask | ButtonReleaseMask); - XSaveContext(dpy, Tmp_win->icon_w, TwmContext, (caddr_t)Tmp_win); - XSaveContext(dpy, Tmp_win->icon_w, ScreenContext, (caddr_t)Scr); + XSaveContext(dpy, Tmp_win->icon_w, TwmContext, (XPointer)Tmp_win); + XSaveContext(dpy, Tmp_win->icon_w, ScreenContext, (XPointer)Scr); XDefineCursor(dpy, Tmp_win->icon_w, Scr->IconCursor); } } |