summaryrefslogtreecommitdiff
path: root/x11/xmx/patches/patch-bu
blob: 13ae02297b6d3bbf96a0ad310b1179326267707e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-bu,v 1.1 2008/08/31 06:52:29 dholland Exp $

--- server/es.c~	1997-08-26 17:21:49.000000000 -0400
+++ server/es.c	2008-08-31 01:29:20.000000000 -0400
@@ -38,13 +38,13 @@ es_mark
    DB buffer_t *bp
    DE
 {
-   register int i;
+   register intptr_t i;
    register chunk_t *chp;
 
    chp = buf_chunk(bp);
 
    if (chp->type == P_EVENT) {	/* can be called repeatedly on same chunk */
-      i = (int)chp->dptr;
+      i = (intptr_t)chp->dptr;
       chp->dptr = (void *)(i + 1);
    }
    else if (chp->type == P_NONE) {