X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fnginx.c;h=69ec06dc996edc9452ea565776c9d9d70c241e68;hb=598a534ab6f2d122556434b82818c4b6ed8e48f9;hp=4e4ce3bbc6115572873668a76507f80ccd82b316;hpb=0003c4d3c184f0f437499d6073cd023dc7b659c2;p=collectd.git diff --git a/src/nginx.c b/src/nginx.c index 4e4ce3bb..69ec06dc 100644 --- a/src/nginx.c +++ b/src/nginx.c @@ -188,8 +188,7 @@ static int init (void) } else { - curl_easy_setopt (curl, CURLOPT_TIMEOUT_MS, - CDTIME_T_TO_MS(plugin_get_interval())); + curl_easy_setopt (curl, CURLOPT_TIMEOUT_MS, (long) CDTIME_T_TO_MS(plugin_get_interval())); } #endif