if ((eb_gettag(troot) == EB_LEAF)) {
node = container_of(eb_untag(troot, EB_LEAF),
struct ebmb_node, node.branches);
- if (strcmp(node->key, x) == 0)
+ if (strcmp((char *)node->key, x) == 0)
return node;
else
return NULL;
* value, and we walk down left, or it's a different
* one and we don't have our key.
*/
- if (strcmp(node->key, x) != 0)
+ if (strcmp((char *)node->key, x) != 0)
return NULL;
troot = node->node.branches.b[EB_LEFT];