Add missing cast

Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/b2f0e09f
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/b2f0e09f
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/b2f0e09f

Branch: refs/heads/master
Commit: b2f0e09f3a5555090fbc0af8d004393f2153a402
Parents: 00d34f9
Author: Nick Wellnhofer <[email protected]>
Authored: Fri May 29 12:25:00 2015 +0200
Committer: Nick Wellnhofer <[email protected]>
Committed: Fri May 29 12:25:00 2015 +0200

----------------------------------------------------------------------
 core/Lucy/Index/Inverter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/b2f0e09f/core/Lucy/Index/Inverter.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Index/Inverter.c b/core/Lucy/Index/Inverter.c
index 09000f0..8c9fd6d 100644
--- a/core/Lucy/Index/Inverter.c
+++ b/core/Lucy/Index/Inverter.c
@@ -183,7 +183,7 @@ void
 Inverter_Clear_IMP(Inverter *self) {
     InverterIVARS *const ivars = Inverter_IVARS(self);
     for (uint32_t i = 0, max = Vec_Get_Size(ivars->entries); i < max; i++) {
-        InvEntry_Clear(Vec_Fetch(ivars->entries, i));
+        InvEntry_Clear((InverterEntry*)Vec_Fetch(ivars->entries, i));
     }
     Vec_Clear(ivars->entries);
     ivars->tick = -1;

Reply via email to