summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b53110e)
raw | patch | inline | side by side (parent: b53110e)
author | Florian Forster <octo@huhu.verplant.org> | |
Wed, 18 Aug 2010 08:21:49 +0000 (10:21 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 18 Aug 2010 08:23:37 +0000 (10:23 +0200) |
src/collectdctl.c | patch | blob | history |
diff --git a/src/collectdctl.c b/src/collectdctl.c
index 53bd6184f75e8f57e9b0d847cc04e0db9109db0b..60b1e64e6205da368dd9a74c27bfb0056235b2c8 100644 (file)
--- a/src/collectdctl.c
+++ b/src/collectdctl.c
}
}
else if (strcasecmp (key, "plugin") == 0) {
- status = array_grow ((void **)&plugins, &plugins_num,
+ status = array_grow ((void *)&plugins, &plugins_num,
sizeof (*plugins));
if (status != 0)
BAIL_OUT (status);
plugins[plugins_num - 1] = value;
}
else if (strcasecmp (key, "identifier") == 0) {
- status = array_grow ((void **)&identifiers, &identifiers_num,
+ status = array_grow ((void *)&identifiers, &identifiers_num,
sizeof (*identifiers));
if (status != 0)
BAIL_OUT (status);
}
if (plugins_num == 0) {
- status = array_grow ((void **)&plugins, &plugins_num, sizeof (*plugins));
+ status = array_grow ((void *)&plugins, &plugins_num, sizeof (*plugins));
if (status != 0)
BAIL_OUT (status);