diff --git a/src/curl.c b/src/curl.c
index 310561c9931df7b8de4942f2f472aae31cc08b49..7f298a2690648ec94ace8cf73a1ccef94937c5a4 100644 (file)
--- a/src/curl.c
+++ b/src/curl.c
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.");