You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2015/05/29 12:27:11 UTC
[3/3] lucy git commit: Add missing cast
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 <we...@aevum.de>
Authored: Fri May 29 12:25:00 2015 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
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;