Skip to content

Commit

Permalink
rest_client: Fix ARM32 compiler warning
Browse files Browse the repository at this point in the history
Apparently, `curl_off_t` is `long long` there, instead of just `long`.

(cherry picked from commit 036d029)
  • Loading branch information
liviuchircu committed Feb 21, 2024
1 parent 2aa02ca commit 3bf207f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/rest_client/rest_methods.c
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ int start_async_http_req(struct sip_msg *msg, enum rest_client_method method,
curl_easy_getinfo(handle, CURLINFO_REQUEST_SIZE, &req_sz);

LM_DBG("perform code: %d, handles: %d, connect: %ldµs, reqsz: %ldB\n",
mrc, running_handles, connect, req_sz);
mrc, running_handles, (long)connect, req_sz);

/* transfer completed! But how well? */
if (running_handles == 0) {
Expand Down

0 comments on commit 3bf207f

Please sign in to comment.