summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2019-06-12 13:34:23 -0700
committerVito Caputo <vcaputo@pengaru.com>2019-06-12 13:34:23 -0700
commit196a44106ef10b343d06be2c130cba4037e85aec (patch)
tree549f35af486e0ad6664687f4f5f7ad22f609598a
parent8ccec1152ef3080c54e76959413d2b16f231cc38 (diff)
libstage: cast lookup result silencing const warn
-rw-r--r--src/stage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stage.c b/src/stage.c
index 2b0ee20..a1d081d 100644
--- a/src/stage.c
+++ b/src/stage.c
@@ -381,7 +381,7 @@ stage_t * stage_lookup_key(stage_t *stage, void *key)
assert(stage);
if (stage->lookup) {
- stage_t *hit = stage->lookup(stage, stage->object, key);
+ stage_t *hit = (stage_t *)stage->lookup(stage, stage->object, key);
if (hit)
return hit;
© All Rights Reserved