summaryrefslogtreecommitdiff
path: root/x11/xview-lib/patches/patch-cn
blob: e8e5b282e6b42638e3a13312e150c26161790b5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-cn,v 1.2 2008/08/30 20:01:28 dholland Exp $

--- lib/libxview/ttysw/ttyselect.c.orig	1994-06-25 21:05:23.000000000 -0400
+++ lib/libxview/ttysw/ttyselect.c	2008-08-30 15:02:55.000000000 -0400
@@ -75,6 +75,8 @@ static Seln_result ttysel_copy_in(),
 #endif
                 ttysel_reply();
 
+static ttysel_resynch();
+
 static struct ttyselection *
                 ttysel_from_rank();
 
@@ -1774,7 +1776,7 @@ ttysel_copy_out(ttysel, context, max_len
 	max_length--;
     }
     /* round up to word boundary  */
-    while ((unsigned) dest % 4 != 0) {
+    while ((uintptr_t) dest % 4 != 0) {
 	*dest++ = '\0';
     }