remove casts from xmalloc()
diff --git a/sysklogd/logread.c b/sysklogd/logread.c
index 9cc6561..745f976 100644
--- a/sysklogd/logread.c
+++ b/sysklogd/logread.c
@@ -117,7 +117,7 @@
 		log_len = buf->tail - i;
 		if (log_len < 0)
 			log_len += buf->size;
-		buf_data = (char *)xmalloc(log_len);
+		buf_data = xmalloc(log_len);
 
 		if (buf->tail < i) {
 			memcpy(buf_data, buf->data+i, buf->size-i);