diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2019-06-12 13:34:23 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2019-06-12 13:34:23 -0700 |
commit | 196a44106ef10b343d06be2c130cba4037e85aec (patch) | |
tree | 549f35af486e0ad6664687f4f5f7ad22f609598a | |
parent | 8ccec1152ef3080c54e76959413d2b16f231cc38 (diff) |
libstage: cast lookup result silencing const warn
-rw-r--r-- | src/stage.c | 2 |
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; |