summaryrefslogtreecommitdiff
path: root/zwgc/xcut.c
diff options
context:
space:
mode:
Diffstat (limited to 'zwgc/xcut.c')
-rw-r--r--zwgc/xcut.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zwgc/xcut.c b/zwgc/xcut.c
index b82d9a8..fea0c27 100644
--- a/zwgc/xcut.c
+++ b/zwgc/xcut.c
@@ -132,7 +132,7 @@ xunmark(Display *dpy,
XContext desc_context)
{
if (gram == NULL)
- if (XFindContext(dpy, w, desc_context, (caddr_t *) &gram))
+ if (XFindContext(dpy, w, desc_context, (XPointer *) &gram))
return;
xmarkClear();
@@ -206,7 +206,7 @@ xcut(Display *dpy,
* If event is for a window that's not ours anymore (say we're
* in the process of deleting it...), ignore it:
*/
- if (XFindContext(dpy, w, desc_context, (caddr_t *) &gram))
+ if (XFindContext(dpy, w, desc_context, (XPointer *) &gram))
return;
/*