openbsd-ports/www/dillo/patches/patch-src_dns_c

13 lines
410 B
Plaintext

$OpenBSD: patch-src_dns_c,v 1.2 2002/05/02 19:16:25 couderc Exp $
--- src/dns.c.orig Wed May 1 15:57:15 2002
+++ src/dns.c Wed May 1 16:04:04 2002
@@ -208,7 +208,7 @@ void a_Dns_init(void)
dns_server[i].hostname = NULL;
dns_server[i].timeout_id = -1;
#ifdef G_DNS_THREADED
- dns_server[i].th1 = (pthread_t) -1;
+ dns_server[i].th1 = GPOINTER_TO_INT((pthread_t) -1);
#endif
}
}