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/menus.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/menus.c')
-rw-r--r-- | src/menus.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |