conn->connection_id = connc->next_connection_id++;
connc->num_connections++;
- DEBUGF(infof(conn->data, "Added connection %d. "
- "The cache now contains %d members\n",
- conn->connection_id, connc->num_connections));
+ DEBUGF(infof(conn->data, "Added connection %ld. "
+ "The cache now contains %" CURL_FORMAT_CURL_OFF_TU " members\n",
+ conn->connection_id, (curl_off_t) connc->num_connections));
return CURLE_OK;
}
if(connc) {
connc->num_connections--;
- DEBUGF(infof(conn->data, "The cache now contains %d members\n",
- connc->num_connections));
+ DEBUGF(infof(conn->data, "The cache now contains %"
+ CURL_FORMAT_CURL_OFF_TU " members\n",
+ (curl_off_t) connc->num_connections));
}
}
}