openbsd-ports/www/links+/patches/patch-html_r_c
fgsch 0d6cd66bb3 use intptr_t where needed. pvalchev@ actually noticed this and provided
diffs but unfortunately they got lost in a hd crash.
pvalchev@ ok.
2002-09-16 04:11:23 +00:00

13 lines
418 B
Plaintext

$OpenBSD: patch-html_r_c,v 1.1 2002/09/16 04:11:23 fgsch Exp $
--- html_r.c.orig Sun Sep 15 10:29:21 2002
+++ html_r.c Sun Sep 15 10:29:53 2002
@@ -904,7 +904,7 @@ void *html_special(struct part *p, int c
case SP_TABLE:
return convert_table;
case SP_USED:
- return (void *)!!p->data;
+ return (void *)(intptr_t)!!p->data;
case SP_FRAMESET:
fsp = va_arg(l, struct frameset_param *);
va_end(l);