From efb6242b94b5f6356bb7c5f697d28c702f57ff71 Mon Sep 17 00:00:00 2001 From: ygrek Date: Thu, 1 Jul 2010 12:19:40 +0300 Subject: [PATCH] fix: CURLINFO_FILETIME has type long --- curl-helper.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/curl-helper.c b/curl-helper.c index eba2dca..0509625 100644 --- a/curl-helper.c +++ b/curl-helper.c @@ -5478,7 +5478,9 @@ CAMLprim value helper_curl_easy_getinfo(value conn, value option) curlResult = curl_easy_getinfo(connection->connection, CURLINFO_FILETIME, - &doubleValue); + &longValue); + + doubleValue = longValue; break; #endif -- 2.11.4.GIT