1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00

general: fix printf specifiers

Closes #2818
This commit is contained in:
Rikard Falkeborn 2018-07-31 23:13:17 +02:00 committed by Daniel Stenberg
parent 6377da72b2
commit 276644ca16
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 2 additions and 2 deletions

View File

@ -758,7 +758,7 @@ CURLcode Curl_disconnect(struct Curl_easy *data,
* are other users of it
*/
if(CONN_INUSE(conn) && !dead_connection) {
DEBUGF(infof(data, "Curl_disconnect when inuse: %d\n", CONN_INUSE(conn)));
DEBUGF(infof(data, "Curl_disconnect when inuse: %zu\n", CONN_INUSE(conn)));
return CURLE_OK;
}

View File

@ -158,7 +158,7 @@ int test(char *url)
multi_perform(multi, &running);
fprintf(stderr, "%s:%d running %ld state %d\n",
fprintf(stderr, "%s:%d running %d state %d\n",
__FILE__, __LINE__, running, state);
abort_on_test_timeout();