disk plugin: Call disk_udev_attr_name() only when UdevNameAttr configured
[collectd.git] / src / ascent.c
index 26f3a11..9124c26 100644 (file)
@@ -161,7 +161,7 @@ static size_t ascent_curl_callback (void *buf, size_t size, size_t nmemb, /* {{{
   {
     char *temp;
 
-    temp = (char *) realloc (ascent_buffer,
+    temp = realloc (ascent_buffer,
         ascent_buffer_fill + len + 1);
     if (temp == NULL)
     {