X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fimport%2Fpull-job.c;h=42939f21045d66c3d19829cfa130fba48e1c81e3;hb=a7f7d1bde43fc825c49afea3f946f5b4b3d563e0;hp=ed9af2351ffe4ffe5ab16f8aab808094731b9a71;hpb=47d45d3cde45d6545367570264e4e3636bc9e345;p=elogind.git diff --git a/src/import/pull-job.c b/src/import/pull-job.c index ed9af2351..42939f210 100644 --- a/src/import/pull-job.c +++ b/src/import/pull-job.c @@ -76,7 +76,7 @@ void pull_job_curl_on_finished(CurlGlue *g, CURL *curl, CURLcode result) { long status; int r; - if (curl_easy_getinfo(curl, CURLINFO_PRIVATE, &j) != CURLE_OK) + if (curl_easy_getinfo(curl, CURLINFO_PRIVATE, (char **)&j) != CURLE_OK) return; if (!j || j->state == PULL_JOB_DONE || j->state == PULL_JOB_FAILED)