diff options
Diffstat (limited to 'lib/librte_security/rte_security.c')
-rw-r--r-- | lib/librte_security/rte_security.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/librte_security/rte_security.c b/lib/librte_security/rte_security.c index 1227fca8..685729f4 100644 --- a/lib/librte_security/rte_security.c +++ b/lib/librte_security/rte_security.c @@ -49,7 +49,7 @@ rte_security_session_create(struct rte_security_ctx *instance, RTE_FUNC_PTR_OR_ERR_RET(*instance->ops->session_create, NULL); - if (rte_mempool_get(mp, (void *)&sess)) + if (rte_mempool_get(mp, (void **)&sess)) return NULL; if (instance->ops->session_create(instance->device, conf, sess, mp)) { |