The builds are failing due to error like:
src/curl.c:349:3: error: call to '_curl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Werror=attribute-warning]
349 | curl_easy_setopt(wp->curl, CURLOPT_IPRESOLVE, wp->address_family);
src/curl_xml.c:740:3: error: call to '_curl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Werror=attribute-warning]
740 | curl_easy_setopt(db->curl, CURLOPT_IPRESOLVE, db->address_family);
src/curl_json.c:586:3: error: call to '_curl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Werror=attribute-warning]
586 | curl_easy_setopt(db->curl, CURLOPT_IPRESOLVE, db->address_family);
The error were seen during a rebuild in Ubuntu.
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
char *instance;
char *url;
- int address_family;
+ long address_family;
char *user;
char *pass;
char *credentials;
char *sock;
char *url;
- int address_family;
+ long address_family;
char *user;
char *pass;
char *credentials;
char *host;
char *url;
- int address_family;
+ long address_family;
char *user;
char *pass;
char *credentials;