]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
IDNS missing casts
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 6 Mar 2011 11:48:16 +0000 (00:48 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 6 Mar 2011 11:48:16 +0000 (00:48 +1300)
src/dns_internal.cc

index 0ae75991bf74feb9f17f0197de4b4cf1d297b2e7..a32b4935c7ba6e91e730b5fa574a751571f70af9 100644 (file)
@@ -1148,7 +1148,7 @@ idnsGrokReply(const char *buf, size_t sz, int from_ns)
 
             if (q->sz < 0) {
                 /* problem with query data -- query not sent */
-                idnsCallback(q->callback_data, NULL, 0, "Internal error");
+                idnsCallback(static_cast<idns_query *>(q->callback_data), NULL, 0, "Internal error");
                 cbdataFree(q);
                 return;
             }
@@ -1192,7 +1192,7 @@ idnsGrokReply(const char *buf, size_t sz, int from_ns)
 
         if (q->sz < 0) {
             /* problem with query data -- query not sent */
-            idnsCallback(q->callback_data, NULL, 0, "Internal error");
+            idnsCallback(static_cast<idns_query *>(q->callback_data), NULL, 0, "Internal error");
             cbdataFree(q);
             return;
         }