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/iconmgr.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/iconmgr.c')
-rw-r--r-- | src/iconmgr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/iconmgr.c b/src/iconmgr.c index 6764802..80457a1 100644 --- a/src/iconmgr.c +++ b/src/iconmgr.c @@ -429,11 +429,11 @@ WList *AddIconManager(TwmWindow *tmp_win) PackIconManager(ip); XMapWindow(dpy, tmp->w); - XSaveContext(dpy, tmp->w, IconManagerContext, (caddr_t) tmp); - XSaveContext(dpy, tmp->w, TwmContext, (caddr_t) tmp_win); - XSaveContext(dpy, tmp->w, ScreenContext, (caddr_t) Scr); - XSaveContext(dpy, tmp->icon, TwmContext, (caddr_t) tmp_win); - XSaveContext(dpy, tmp->icon, ScreenContext, (caddr_t) Scr); + XSaveContext(dpy, tmp->w, IconManagerContext, (XPointer) tmp); + XSaveContext(dpy, tmp->w, TwmContext, (XPointer) tmp_win); + XSaveContext(dpy, tmp->w, ScreenContext, (XPointer) Scr); + XSaveContext(dpy, tmp->icon, TwmContext, (XPointer) tmp_win); + XSaveContext(dpy, tmp->icon, ScreenContext, (XPointer) Scr); tmp_win->list = tmp; if (!ip->twm_win->icon) |