]> granicus.if.org Git - curl/commitdiff
printf %s with plain 'char *', not unsigned ones to silence icc's picky
authorDaniel Stenberg <daniel@haxx.se>
Thu, 6 May 2004 10:57:07 +0000 (10:57 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 6 May 2004 10:57:07 +0000 (10:57 +0000)
warnings

tests/libtest/lib509.c

index b6e9ca6ddb73929072204ee279d956900fa8aebf..54d23e97281870cd741de6aeaf1b500023c60a8d 100644 (file)
@@ -110,7 +110,7 @@ static int ssl_app_verify_callback(X509_STORE_CTX *ctx, void *arg)
 
       if (strcmp((char *)p->accessinfoURL, (char *)accessinfoURL)) {   
         fprintf(stderr, "Setting URL <%s>, was <%s>\n",
-                accessinfoURL,p->accessinfoURL);
+                (char *)accessinfoURL, (char *)p->accessinfoURL);
         OPENSSL_free(p->accessinfoURL);
         p->accessinfoURL = accessinfoURL;
         curl_easy_setopt(p->curl, CURLOPT_URL,p->accessinfoURL);
@@ -179,7 +179,7 @@ int test(char *URL)
   curl_easy_setopt(p.curl, CURLOPT_SSL_VERIFYPEER, FALSE); 
   curl_easy_setopt(p.curl, CURLOPT_SSL_VERIFYHOST, 1);
 
-  fprintf(stderr,"Going to perform %s\n",p.accessinfoURL);
+  fprintf(stderr, "Going to perform %s\n", (char *)p.accessinfoURL);
 
   {
     CURLMcode res;