projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a8ac82
)
amqp1 plugin: remove unneccesary cast
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Thu, 24 May 2018 11:55:12 +0000
(13:55 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Thu, 24 May 2018 11:55:12 +0000
(13:55 +0200)
src/amqp1.c
patch
|
blob
|
history
diff --git
a/src/amqp1.c
b/src/amqp1.c
index
7cbdb5f
..
e60142b
100644
(file)
--- 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) {