openbsd-ports/www/links+/patches/patch-jsint_c
2003-09-23 06:35:33 +00:00

13 lines
486 B
Plaintext

$OpenBSD: patch-jsint_c,v 1.4 2003/09/23 06:35:33 fgsch Exp $
--- jsint.c.orig 2003-09-01 16:40:44.000000000 -0300
+++ jsint.c 2003-09-23 02:55:15.000000000 -0300
@@ -2810,7 +2810,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);
+ go_backwards(fd->ses->term,(void*)(intptr_t)(jsid->n),fd->ses);
}