diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2019-01-21 17:58:22 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2019-01-21 17:58:22 -0500 |
commit | a929de7ae500f5e66a157a7b2e6b439617b001c2 (patch) | |
tree | 403761c6b85cc04b4557d54e90003d9874b276f7 /src/mod_vhostdb_dbi.c | |
parent | 69d17e04cd3c38235f2421b4dbfc42c734657587 (diff) | |
download | lighttpd-git-a929de7ae500f5e66a157a7b2e6b439617b001c2.tar.gz |
[multiple] calloc match ptr type (clang --analyze)
Diffstat (limited to 'src/mod_vhostdb_dbi.c')
-rw-r--r-- | src/mod_vhostdb_dbi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_vhostdb_dbi.c b/src/mod_vhostdb_dbi.c index fbb60393..0c78e12a 100644 --- a/src/mod_vhostdb_dbi.c +++ b/src/mod_vhostdb_dbi.c @@ -259,7 +259,7 @@ SETDEFAULTS_FUNC(mod_vhostdb_set_defaults) { { NULL, NULL, T_CONFIG_UNSET, T_CONFIG_SCOPE_UNSET } }; - p->config_storage = calloc(1, srv->config_context->used * sizeof(specific_config *)); + p->config_storage = calloc(1, srv->config_context->used * sizeof(plugin_config *)); for (size_t i = 0; i < srv->config_context->used; ++i) { data_config const *config = (data_config const*)srv->config_context->data[i]; |