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/menus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/menus.c') diff --git a/src/menus.c b/src/menus.c index 37db9b1..4401101 100644 --- a/src/menus.c +++ b/src/menus.c @@ -849,8 +849,8 @@ MakeMenu(MenuRoot *mr) valuemask, &attributes); - XSaveContext(dpy, mr->w, MenuContext, (caddr_t)mr); - XSaveContext(dpy, mr->w, ScreenContext, (caddr_t)Scr); + XSaveContext(dpy, mr->w, MenuContext, (XPointer)mr); + XSaveContext(dpy, mr->w, ScreenContext, (XPointer)Scr); mr->mapped = UNMAPPED; } -- cgit v1.2.3