$OpenBSD: patch-jsint_c,v 1.7 2005/02/24 22:24:55 fgsch Exp $
--- jsint.c.orig	Sun Jan  2 17:17:26 2005
+++ jsint.c	Mon Feb 21 12:07:15 2005
@@ -2849,7 +2849,7 @@ static void __js_upcall_goto_history_ok_
 
 	if (a<jsid->n&&(fd->js)&&jsid->js_id==fd->js->ctx->js_id){js_downcall_vezmi_null(fd->js->ctx);return;}   /* call downcall */
 
-	go_backwards(fd->ses->term,(void*)(jsid->n),fd->ses); /* 2848: warning: cast to pointer from integer of different size */
+	go_backwards(fd->ses->term,(void*)(intptr_t)(jsid->n),fd->ses);
 }
 
 
