openbsd-ports/www/dillo/patches/patch-src_dns_c
2003-02-18 15:53:18 +00:00

21 lines
513 B
Plaintext

$OpenBSD: patch-src_dns_c,v 1.3 2003/02/18 15:53:18 couderc Exp $
--- src/dns.c.orig Thu Dec 26 13:39:57 2002
+++ src/dns.c Tue Feb 18 17:26:55 2003
@@ -30,7 +30,6 @@
#include "dns.h"
#include "list.h"
-#define DEBUG_LEVEL 5
#include "debug.h"
@@ -209,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
}