Fixed compiler warning - argument is type long.

This commit is contained in:
Guenter Knauf
2012-08-06 11:45:06 +02:00
parent 5dedda1448
commit 69f5fe070d

View 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); 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_URL, full_url);
test_setopt(curl, CURLOPT_VERBOSE, 1L); test_setopt(curl, CURLOPT_VERBOSE, 1L);
test_setopt(curl, CURLOPT_HEADER, 1L); test_setopt(curl, CURLOPT_HEADER, 1L);