$NetBSD: patch-cp,v 1.2 2011/07/03 20:15:59 dholland Exp $

- avoid LP64 warnings (I believe I checked uses of these)

--- server/es.h~	1997-09-27 17:10:13.000000000 -0400
+++ server/es.h	2008-08-31 01:42:57.000000000 -0400
@@ -25,5 +25,5 @@
 *   es.h								*
 *									*
 ************************************************************************/
-#define es_set(chp, n)	(chp)->dptr = (void *)(n)
-#define es_get(chp)	((int)chp->dptr)
+#define es_set(chp, n)	(chp)->dptr = (void *)(intptr_t)(n)
+#define es_get(chp)	((int)(intptr_t)chp->dptr)
