debuginfod: Fix implicit conversion from 'CURLcode' to 'CURLMcode'
authorMark Wielaard <mark@klomp.org>
Tue, 3 Dec 2019 23:39:26 +0000 (00:39 +0100)
committerMark Wielaard <mark@klomp.org>
Mon, 9 Dec 2019 19:26:15 +0000 (20:26 +0100)
commit374fbed3da0197f794a904e78e75e961c7e2e92c
tree3f4c52e84b1b964624ec030fc49e1796d9a5e7eb
parent4a90cb11140a6bb3712228861a32e4035013ad85
debuginfod: Fix implicit conversion from 'CURLcode' to 'CURLMcode'

GCC10 warns when converting the value of one enum type into another:

debuginfod-client.c:530:24: error: implicit conversion from ‘CURLcode’
                                   to ‘CURLMcode’ [-Werror=enum-conversion]
  530 |               curl_res = curl_easy_getinfo(target_handle,
      |                        ^

libcurl has different error code enums. The "easy" interfaces return
a CURLcode error. The "multi" interface functions return a CURLMcode.

Signed-off-by: Mark Wielaard <mark@klomp.org>
debuginfod/ChangeLog
debuginfod/debuginfod-client.c