]> granicus.if.org Git - curl/commitdiff
Fixed compiler warning - argument is type long.
authorGuenter Knauf <lists@gknw.net>
Mon, 6 Aug 2012 09:45:06 +0000 (11:45 +0200)
committerGuenter Knauf <lists@gknw.net>
Mon, 6 Aug 2012 09:45:06 +0000 (11:45 +0200)
tests/libtest/libauthretry.c

index 6403c839b5d443eeb8bd1100ac50fe548ac0ef33..900e85fa4ca8a2fa473487e2f9eb6badc35c62cb 100644 (file)
@@ -39,7 +39,7 @@ static int send_request(CURL *curl, const char *url, int seq, long auth_scheme,
   }
 
   sprintf(full_url, "%s%04d", url, seq);
-  fprintf(stderr, "Sending new request %d to %s with credential %s (auth %d)\n", seq, full_url, userpwd, auth_scheme);
+  fprintf(stderr, "Sending new request %d to %s with credential %s (auth %ld)\n", seq, full_url, userpwd, auth_scheme);
   test_setopt(curl, CURLOPT_URL, full_url);
   test_setopt(curl, CURLOPT_VERBOSE, 1L);
   test_setopt(curl, CURLOPT_HEADER, 1L);