From 5e1798773d837eabaa70d0fff5762397f540ee00 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Tue, 16 Jul 2019 17:06:02 -0400 Subject: 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 --- src/resize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resize.c') 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); -- cgit v1.2.3