From 00dec36c725a0ce934ab0668ac8cb9822557c606 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 2 Oct 2008 14:42:57 +0000 Subject: [PATCH] fix compiler warning: `variable' might be clobbered by `longjmp' or `vfork' --- lib/hostip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hostip.h b/lib/hostip.h index 3864dd90b8..08545d94ed 100644 --- a/lib/hostip.h +++ b/lib/hostip.h @@ -166,7 +166,7 @@ int Curl_resolv(struct connectdata *conn, const char *hostname, int port, struct Curl_dns_entry **dnsentry); int Curl_resolv_timeout(struct connectdata *conn, const char *hostname, int port, struct Curl_dns_entry **dnsentry, - long timeout); + volatile long timeout); /* * Curl_ipvalid() checks what CURL_IPRESOLVE_* requirements that might've -- 2.47.3