X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fcurl.c;h=7f298a2690648ec94ace8cf73a1ccef94937c5a4;hb=c89182b424bb4184bd7da3f2ab687b542ed7eea3;hp=310561c9931df7b8de4942f2f472aae31cc08b49;hpb=8a455c585f048f4ced69a3be9d5cdee6c091dbf2;p=collectd.git diff --git a/src/curl.c b/src/curl.c index 310561c9..7f298a26 100644 --- a/src/curl.c +++ b/src/curl.c @@ -108,7 +108,7 @@ static size_t cc_curl_callback (void *buf, /* {{{ */ size_t temp_size; temp_size = wp->buffer_fill + len + 1; - temp = (char *) realloc (wp->buffer, temp_size); + temp = realloc (wp->buffer, temp_size); if (temp == NULL) { ERROR ("curl plugin: realloc failed.");