summaryrefslogtreecommitdiff
path: root/src/resize.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-07-16 17:06:02 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-07-16 17:06:02 -0400
commit5e1798773d837eabaa70d0fff5762397f540ee00 (patch)
treef49b196a92086ac2893b9642d6798441847666db /src/resize.c
parentb09c794f975d4b11685ac31884b8a6fd73b1ff15 (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/resize.c')
-rw-r--r--src/resize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resize.c b/src/resize.c
index e59e190..5a93ac5 100644
--- a/src/resize.c
+++ b/src/resize.c
@@ -536,7 +536,7 @@ EndResize(void)
MoveOutline(Scr->Root, 0, 0, 0, 0, 0, 0);
XUnmapWindow(dpy, Scr->SizeWindow);
- XFindContext(dpy, ResizeWindow, TwmContext, (caddr_t *)&tmp_win);
+ XFindContext(dpy, ResizeWindow, TwmContext, (XPointer *)&tmp_win);
ConstrainSize (tmp_win, &dragWidth, &dragHeight);