summaryrefslogtreecommitdiff
path: root/x11/xview-lib/patches/patch-ba
blob: 8f976a7e3e1a3dba61536293e89e06f476a5b3b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ba,v 1.1 2001/12/20 09:19:56 tron Exp $

--- lib/libxview/selection/sel_util.c.orig	Tue Jun 29 07:16:03 1993
+++ lib/libxview/selection/sel_util.c	Thu Dec 20 10:09:17 2001
@@ -23,6 +23,7 @@
 static void FreeMultiProp();
 static int	SelMatchReply();
 static Sel_req_tbl *SelMatchReqTbl();
+static int SelFindReply();
 
 Pkg_private struct timeval *
 xv_sel_cvt_xtime_to_timeval( XTime )
@@ -601,7 +602,7 @@
 	reqTbl->reply = reply;
 	reqTbl->next = NULL;
 	(void)XSaveContext( dpy, DefaultRootWindow(dpy),replyCtx,
-			   (caddr_t *)reqTbl);
+			   (XPointer)reqTbl);
 	return reqTbl;
     }
     return (Sel_req_tbl *) xv_sel_add_new_req( reqTbl, reply );