Skip to content

Commit 488ac49

Browse files
author
kalibera
committed
Add cast.
git-svn-id: https://svn.r-project.org/R/trunk@88394 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 26a286c commit 488ac49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/internet/libcurl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ in_do_curlGetHeaders(SEXP call, SEXP op, SEXP args, SEXP rho)
406406
curl_easy_setopt(hnd, CURLOPT_WRITEFUNCTION, &rcvBody);
407407
curlCommon(hnd, redirect, verify);
408408
if (timeout > 0) {
409-
curl_easy_setopt(hnd, CURLOPT_TIMEOUT, timeout);
409+
curl_easy_setopt(hnd, CURLOPT_TIMEOUT, (long)timeout);
410410
current_timeout = timeout;
411411
}
412412
if (!streql(TLS, "")) {

0 commit comments

Comments
 (0)