From: Ruben Kerkhof Date: Thu, 24 May 2018 11:55:12 +0000 (+0200) Subject: amqp1 plugin: remove unneccesary cast X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a74efda2fb10bdfb4af9e9e3e7a4b11dfddb6452;p=collectd.git amqp1 plugin: remove unneccesary cast --- diff --git a/src/amqp1.c b/src/amqp1.c index 7cbdb5fd..e60142b5 100644 --- a/src/amqp1.c +++ b/src/amqp1.c @@ -323,7 +323,7 @@ static int encqueue(cd_message_t *cdm, &cdm->mbuf.size)) == PN_OVERFLOW) { DEBUG("amqp1 plugin: increasing message buffer size %zu", cdm->mbuf.size); cdm->mbuf.size *= 2; - cdm->mbuf.start = (char *)realloc(cdm->mbuf.start, cdm->mbuf.size); + cdm->mbuf.start = realloc(cdm->mbuf.start, cdm->mbuf.size); } if (status != 0) {