]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Compile error. Cast was needed
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 6 Oct 2008 11:26:47 +0000 (00:26 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 6 Oct 2008 11:26:47 +0000 (00:26 +1300)
src/dns_internal.cc

index 02249f120cdac294a64dc2656064319262dce8c6..be81dc591785bd4cf46c8c52db905cf63c18e8d2 100644 (file)
@@ -1215,7 +1215,7 @@ idnsCheckQueue(void *unused)
     for (n = lru_list.tail; n; n = p) {
 
         p = n->prev;
-        q = n->data;
+        q = static_cast<idns_query*>(n->data);
 
         /* Anything to process in the queue? */
         if (tvSubDsec(q->queue_t, current_time) < Config.Timeout.idns_retransmit )