diff options
Diffstat (limited to 'src/twm.c')
-rw-r--r-- | src/twm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -469,7 +469,7 @@ main(int argc, char *argv[]) Scr->d_depth = DefaultDepth(dpy, scrnum); Scr->d_visual = DefaultVisual(dpy, scrnum); Scr->Root = RootWindow(dpy, scrnum); - XSaveContext (dpy, Scr->Root, ScreenContext, (caddr_t) Scr); + XSaveContext (dpy, Scr->Root, ScreenContext, (XPointer) Scr); Scr->TwmRoot.cmaps.number_cwins = 1; Scr->TwmRoot.cmaps.cwins = malloc(sizeof(ColormapWindow *)); |