From 58387b91f93a1b439c851813e5ac131375a57f84 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 6 May 2004 10:57:07 +0000 Subject: printf %s with plain 'char *', not unsigned ones to silence icc's picky warnings --- tests/libtest/lib509.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/libtest/lib509.c b/tests/libtest/lib509.c index b6e9ca6dd..54d23e972 100644 --- a/tests/libtest/lib509.c +++ b/tests/libtest/lib509.c @@ -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; -- cgit v1.2.1